Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pePaytm.makePayment return JSON DATA #1

Open
rdcoder33 opened this issue Jul 6, 2020 · 1 comment
Open

pePaytm.makePayment return JSON DATA #1

rdcoder33 opened this issue Jul 6, 2020 · 1 comment

Comments

@rdcoder33
Copy link

Well, I have followed all your instructions but, if return just data passed in JSON Form, this is what when the button is clicked:

WhatsApp Image 2020-07-06 at 16 23 59

NOTE: I am using Production Credentials and testing in a real device.

CODE:

Same as example file:

onPressed: () async {
                               
                                PePaytm pePaytm = new PePaytm(
              paymentURL:
                  'https://us-central1-pubgavatar-28b16.cloudfunctions.net/customFunctions/paymentReceipt');

          await pePaytm.makePayment(context,
              order: Order(
                  orderId: DateTime.now().millisecondsSinceEpoch.toString(),
                  phoneNumber: '7777777777',
                  amount: '120',
                  custId: 'CUST123456',
                  email: 'test123@gmail.com'),
                
                );
                 // TODO send your data for payment
        
                              },
@agrawalharsh90
Copy link
Collaborator

We are currently working on it.
Will give update the plugin soon.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants