Last updated:
0 purchases
idpay payment package
idpay_payment_package #
A package for making payment with id pay easy
For getting the package you should add: #
idpay_payment_package: 0.0.1
copied to clipboard
Getting Started With Making A Payment Request: #
PaymentRequest request = PaymentRequest(
orderId: 2,
paymentAmountRial: 10000,
callBackUrl: 'ArmanCoders.com/payment',
userFullName: 'Reza Taghizadeh',
userPhone: '+905366526420',
userMail: '[email protected]',
paymentDescription: 'Just For Test');
copied to clipboard
In the second step you can easily add your payment with: #
IdPayResponse response = await IdPayPayment.getIdPayResponse(
request: request, apiKey: '6a7f99eb-7c20-4412-a972-6dfb7cd253a4');
copied to clipboard
You can using payment in test environment by using : #
boolean isSandbox : true . the defualt value is false
IdPayResponse response = await IdPayPayment.getIdPayResponse(
request: request, apiKey: '6a7f99eb-7c20-4412-a972-6dfb7cd253a4',isSandbox: false);
copied to clipboard
At the end your response is containe: #
String paymentLink// is '' if has error
String error // if not exist is ''
int statusCode // is 201 if has no error
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.