Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
stranger11 authored Dec 21, 2023
1 parent 8e05c6b commit af0737f
Showing 1 changed file with 0 additions and 27 deletions.
27 changes: 0 additions & 27 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit af0737f

Please sign in to comment.