paytm / paytm-pg-php-sdk

9 stars 20 forks source link

How can I implement the Paytm PG Kit code as per my requirement? #18

Closed jaipalsin closed 11 months ago

jaipalsin commented 11 months ago

I want to use PG Kit code received from Paytm in my project as per my requirements. I want that when the user adds an item to the cart and goes to the checkout button, he is redirected to the shipping data submission page. After completion of submitting the shipping data, the user should be redirected to the callback page where he will make the payment with the total amount. Once payment is completed, the user should be shown complete order details including shipping data and information received from the API response. How can this be done using 'session/rest'? Please provide me the code or logic for this so that I can understand it in depth in a better way.