Discount Code Passed As A Query Parameter To Checkout But It's Not Applying To Order

Discount Code Passed As A Query Parameter To Checkout But It's Not Applying To Order

vaibhavrathod
Shopify Partner
16 1 9

Did Shopify Change Checkout Url Structure Recently?

Shopify changed the checkout URL again, and the discount code is not applied when the discount code is available in the URL as a parameter.

Old Link -
https://yourstore.com/checkouts/c/2058cc25ebe8bdb2910b8d7f1577a8d1/information?discount=FLITS_1_2569...

New Link -
https://yourstore.com/checkouts/cn/c1-0f25e16e43ad8eca5558d9a4b1c6c703/information?discount=FLITS_1_...

In, the above link
>> /checkouts/c/ 
>> /checkout/cn/c1-XXXXXX

is changed and the discount code is available in params but not applying automatically.

Any help would be great for me.

Replies 3 (3)

rich-m
Visitor
2 0 0

Seeing similar behaviour on /checkouts/sh/....

 

Interestingly only seem to end up on that url in Safari, all other browsers go to /checkouts/c/...

Jane175
Shopify Partner
2 0 0

Hi,
I noticed this problem yesterday and figured out that the discount passed as the query param only worked on a single discount, not multiple discounts on the new link /checkout/cn/c1-XXXXX. It does work on /checkouts/c.
Do you have any workaround for this one?

devPrateek
Shopify Partner
4 0 1

I was using discount code as URL parameter to be applied to the checkout directly, not after Shopify changed the 'checkout' URL structure, the discount not not working 
do you have any idea, how can i achieve this