Creates a recurring application charge fails only in production

Creates a recurring application charge fails only in production

felixding
Shopify Partner
1 0 0

I'm trying to create a recurring application charge as follows:

 

recurring_application_charge = ShopifyAPI::RecurringApplicationCharge.new(session: Shop.first.shopify_session)
recurring_application_charge.name = "Super Duper Plan"
recurring_application_charge.price = 10.0
recurring_application_charge.return_url = "http://super-duper.shopifyapps.com"
recurring_application_charge.save!

It works well in development with `recurring_application_charge.test = true`.

 

But it fails in production (after removing `recurring_application_charge.test = true`, of course).

 

The API returns `{"error_reference":"If you report this error, please include this id: 60dcfc7c-08b1-433d-a16a-78d5f8827616-1727746893."}`

 

Why?

Replies 0 (0)