Transaction Creation
Customer selects the product or services in your platform(website or app) and clicks on the Pay button there. Order is sent to your server
For every order, your server will generate
- transactionID - Unique reference ID to track the payment request sent to PhonePe
- merchantOrderId - Unique referenceID for each order at your end. Single merchantOrderID may have multiple transactionID against it as the customer may attempt multiple payment requests for an order in case payment gets failed for the previous attempt
- merchantUserID - Unique referenceID to track customers. You can avoid passing mobile numbers or email id in this field. Also, the field can be skipped in case of guest users in your website
On receiving payment request, PhonePe server will validate the order and creates a transaction at its end
Updated over 1 year ago