+ 1

How should i process a payment in android app?

I will use any payment gateway like Razorpay, Payumoney, Paytm. My question is how should I process it. I mean should I upload the item details first in the database then according to what happens at the payment gateway I will update the status of the item in the database.

14th Oct 2021, 6:28 AM
Manjit Kumar
Manjit Kumar - avatar
3 Respostas
0
Refer to the the documentation of payment gateway you are using
14th Oct 2021, 11:04 AM
AKSHAY🇮🇳
AKSHAY🇮🇳 - avatar
0
Is item uploading part done by gateways ?
14th Oct 2021, 11:09 AM
Manjit Kumar
Manjit Kumar - avatar
0
No item uploading isn't done by gateways. You have to pass order id and amount to payment gateways.(Some payment gateways provide coupon system, IDK how it works). And about items in cart, you have to self manage them and add in users order history after a successful payment response
14th Oct 2021, 11:52 AM
AKSHAY🇮🇳
AKSHAY🇮🇳 - avatar