AmazonPay doesn't copy cart attributes and discounts

Topic summary

A technical issue occurs when users checkout via AmazonPay on a Hydrogen-based Shopify store. When redirecting to the checkout page with cart attributes and discount codes in the URL (e.g., ?discount=DISCOUNT), AmazonPay fails to preserve these parameters during its redirect process.

Key findings:

  • Cart attributes and discounts added via the Storefront API are not copied when using AmazonPay
  • Shop Pay does not exhibit this problem
  • The issue appears specific to AmazonPay’s redirect flow

Resolution:
The problem has been acknowledged and an internal issue was opened. According to the update, this has now been resolved.

Summarized with AI on November 17. AI used: claude-sonnet-4-5-20250929.

We are using hydrogen and redirecting users to the online store’s checkout page via the checkoutURL of the cart.

URL likes: 'https://checkout.palmwork.jp/checkouts/cn/{ID}/information?discount=DISCOUNT’

But, in the checkout, if the user used AmazonPay, the checkout page is redirected and all of the cart attributes and discounts added by the storefront API are not copied.

Redirected URL: ‘[https://checkout.palmwork.jp/](https://checkout.palmwork.jp/(){shop id}/checkouts/{checkout id}?step=contact_information’

It has no problem with Shop Pay.

So, We think it is the problem of Amazon Pay.

Someone knows the solution or more information.

Any help with this is much appreciated.

Thanks for reporting this @niwa3 . Seeing other similar reports, an issue has been opened internally.

Update: This has now been resolved :slightly_smiling_face: