medusajs / nextjs-starter-medusa

A performant frontend ecommerce starter template with Next.js 14 and Medusa.
https://next.medusajs.com/
MIT License
1.78k stars 495 forks source link

Cannot finish checkout process when a user applies a giftcard #312

Closed QAComet closed 7 months ago

QAComet commented 7 months ago

Description

If you go through the checkout process and use a giftcard which makes the total zero, then the payment step in checkout gets stuck in an infinite loading loop, and just shows the loader animation. See the screenshot below

giftcard_payment

Steps to reproduce

Suggestions for improvement

QAComet commented 7 months ago

Note: if I go ahead and click the trash icon for the giftcard, found on the far right side of the page, then the payment form will immediately appear.

VariableVic commented 7 months ago

Just merged a fix, could you have a look and confirm if this solves the issue for you? @QAComet