Shopify returning wrong date (billing_on) in Billing API

Shopify returning wrong date (billing_on) in Billing API

farooq
Shopify Partner
1 0 0

Dear experts, 

Farooq here, when my clients subscribed to my app using recurring_charges then Shopify returning billing_on date by adding 5 days i.e. today is 5th Sep and 10th will be billing date instead 5th Oct. API should return date by adding 30 days as per default flow.

 

Quick help will be highly appreciated.

 

 

Reply 1 (1)

michael569gardn
Visitor
1 0 0
It seems like Shopify is using a 5-day grace period for billing cycles mySedgwick. To resolve this, try setting the billing_threshold to 0 or adjust the interval_count to achieve the desired 30-day billing cycle.
Refer to Shopify's API documentation for Recurring Application Charges for more details.
Hope this helps!