All things Shopify and commerce
Hello everyone,
I just finished developing my application and submitted it to Shopify for approval. I have a question regarding the billing methods configuration during the submission process.
Should the test=true parameter be kept, or should it be removed?
Here is my current code:
$chargePayload = [ "recurring_application_charge" => [ "name" => $name, "price" => $price, "return_url" => $returnUrl, "test" => true, "trial_days" => 0 ] ];
With test=true, my application works correctly in the development environment. However, when I remove this parameter to test the production behavior, Shopify encounters the following error:
recurring_application_charges.json resulted in a 403 Forbidden response.
I would like to know if it is mandatory to disable test mode (test=false) when submitting an app, or if the app can be approved while keeping it enabled.
Thanks in advance for your help!
Could you please try this code for submission.
$chargePayload = [
"recurring_application_charge" => [
"name" => $name,
"price" => $price,
"return_url" => $returnUrl,
"trial_days" => 0
]
];
Hey Community 👋 Did you know that March 15th is National Everything You Think Is W...
By JasonH Apr 1, 2025Discover how to increase the efficiency of commerce operations with Shopify Academy's l...
By Jacqui Mar 26, 2025Shopify and our financial partners regularly review and update verification requiremen...
By Jacqui Mar 14, 2025