I successfully added my payment gateway to admin and its also show me on checkout page but when user click on "place order" i don't have any idea about how shopify process after that. i want to make payment using custom payment gateway.
Where i can add my custom file for payment gateway ? Or where i can add code for custom payment gateway.
what i need to do is..
- when user click on "place order" button ,get all the detail of order
- setup curl request for payment based on details
You are probably looking for hosted-payments feature of Shopify.
This is where payment gateways can implement their payment processing with Shopify checkout.
You have to create a public page / website where Shopify will redirect after click on "place order" button.
There on this page/website you can have all order details and implement the gateway using curl requests etc.
More info you can find at Hosted Payment SDK where you can see an Api reference for Request and Response values.