shopify app development with php create a billing system

Highlighted
Shopify Partner
23 0 5

I'm new to shopify app development and want to create an app with PHP.

I want to know where should I need to keep the recurring charge code on my PHP script. I know it can be done with shopify recurring charge API. But I can't understand where should I need to keep those code.

Any help will be appreciated.

Thanks in advanced.

1 Like
New Member
2 0 0

@Dev_Shopify_1_A wrote:

I'm new to shopify app development and want to create an app with PHP.

I want to know where should I need to keep the recurring charge code on my PHP script. I know it can be done with shopify recurring charge API. But I can't understand where should I need to keep those code.

Any help will be appreciated.

Thanks in advanced.


You need to keep this code on your server where your app is live.

Check this example for PHP code https://github.com/ohmybrew/laravel-shopify/wiki/Creating-a-Billable-App

0 Likes
Highlighted
Shopify Partner
147 8 22

Hey @Dev_Shopify_1_A,

 

As @mtonev85 pointed out, you would want to store this internally in your app such as in a database table.  You can then use the recurring_charge_id in the future to look up the customer billing information if necessary.

 

 

Regards,

Joel.

Co-Founder / CTO @ Intuitive Shipping
Intuitive Shipping | Automate Shipping Profiles
0 Likes