Shopify Custom payment gateway without using Hosted Payment SDK

Highlighted
New Member
2 0 0

Shopify mentions using thei Hosted Payment SDK as their only way for implementing payment gateways for shopify. My requirement is a bit different. Here is my scenario

The customer checks out an order, then i have custom app (built by us) within shopify that customizes the checkout page and shows them a button that says "Make payment", when the user clicks on this button, they are sent out of shopify and brought to an external page that captures the order details passed during redirect, here the customer would pay for their order, after the payment is successful, the external app will call the shopify admin api and update payment status for this order, setting it to paid status, then the customer gets redirected back to shopify and the order is complete.

Using this flow, i won't have to use shopify's hosted payment SDK which requires approval and takes close to 30 for their team to get back to me.

I am new to shopify , would this be possible ? Is is possible to change order payment status using the shopify admin api ?

Your input is highly appreciated.

0 Likes
Highlighted
New Member
1 0 0

Up!

 

It seems the Hosted Payment SDK has been closed now. Is there any other option to integrate the third-party gateways?

 

0 Likes
Highlighted
New Member
1 0 0

I am now using kind a similar thing.

My customer is checking out via manual checkout (i couldnt figure out how to customize the checkout and put a button) and the order is getting Pending status.

Once the customer confirms the order he receives an email Order confirmation notification where i have put a URL with orderId to go and do the payment. Once the customer gets to my external URL i verify the order via shopify API and show some info about his order, than he has an option to checkout with different Payment methods.

The only issue I have here is with AUTHORIZATION- once the customer pays with card I am forming a AUTHORIZATION transaction , but this does not change the order status in shopify from Pending to AUTHORIZED, only after Capture transaction Shopify changes the status of order to PAID.

0 Likes
Highlighted
New Member
2 0 0

hey @davidbest  thank you very much for sharing your experience with manual checkout. This has shed some light and will definitely be useful to me over the long run.

Much appreciated.. 

0 Likes