-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
8e05c6b
commit af0737f
Showing
1 changed file
with
0 additions
and
27 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -92,33 +92,6 @@ var request = PublicPayRequest( | |
|
||
``` | ||
Future<BaseResponse<PublicPayResponse>> _pay() async { | ||
var request = PublicPayRequest( | ||
orderId: "SAM_SDK_3", | ||
description: "test payment", | ||
paymentMethod: PaymentMethod.cryptogram, | ||
amount: '10', | ||
currency: 'RUB', | ||
cardDetails: CardDetails( | ||
cardHolderName: "TEST CARD", | ||
cardNumber: "5260111696757102", //success card | ||
// cardNumber: '2408684917843810', //fail card | ||
cvc: "123", | ||
expMonth: "12", | ||
expYear: "24"), | ||
customerInfo: CustomerInfo( | ||
email: "[email protected]", | ||
phone: "+19991231212", | ||
language: "en", | ||
address: "string", | ||
town: "string", | ||
zip: "string", | ||
country: "USA", | ||
isSendReceipt: false, | ||
receiptEmail: '[email protected]', | ||
ip: '8.8.8.8'), | ||
rebillFlag: false, | ||
); | ||
final response = await config.pay(request); | ||
return response; | ||
|