How to Use Shopify API for Automated Data Plan Top-ups Using Stored Payment Information

How to Use Shopify API for Automated Data Plan Top-ups Using Stored Payment Information

Heroku514
Visitor
2 0 0

Hi Shopify Community,

 

I have a use case where a customer purchases a data plan (e.g., 1 GB) through Shopify’s checkout page. After the customer exhausts their data, I need to automatically place another order for a new data plan (e.g., 2 GB or 5 GB) using Shopify’s API without asking the customer to re-enter their payment information.

 

Here’s a breakdown of the flow:

 

1. The customer places the initial order through Shopify’s standard checkout page, entering their payment information.

2. Once they’ve used up their data, I want to trigger a new order (e.g., for additional data) using the same stored payment method, without requiring them to input their credit card details again.

3. The top-up will happen on a separate page, where customers can choose different data plans for the additional purchase.

 

How can I achieve this functionality using Shopify’s API? Are there any specific endpoints or features that support this, such as payment tokenization or stored payment methods? Would I need Shopify Plus for extended payment authorizations, or is there another approach that works with regular Shopify accounts?

 

Thanks in advance for your help!

Reply 1 (1)

Heroku514
Visitor
2 0 0

Please.....