Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Customer is charged previous price after the order amount is changed by the merchant #3995

Open
Mayisha opened this issue Feb 28, 2025 · 0 comments
Labels
priority: medium The issue/PR is medium priority—it affects lots of customers substantially, but not critically.

Comments

@Mayisha
Copy link
Contributor

Mayisha commented Feb 28, 2025

Describe the bug
When an order amount is updated in the order edit page and the customer pays for it using the customer payment link, the customer's card is getting charged with the previous amount instead of the updated amount.

To Reproduce

  • Enable card payment method in Stripe settings page.
  • As a customer, add a product to your cart and go to the checkout page.
  • Try to complete checkout with a card that declines payment (https://docs.stripe.com/testing#declined-payments)
  • The checkout should fail.
  • As an admin, go to the order edit page.
  • If the order is in failed status, move it back to the pending payment status and update the order.
  • Now edit the product price in this order and set a lesser amount. i,e. if the product price was $55, change it to $40. (update it in the order edit page, not the original product's price in the product page). Update the order.
  • Now copy the customer payment link and try to pay it as the customer.
  • This time use a valid card (https://docs.stripe.com/testing#cards) so that the checkout is successful.
  • Check the order edit page. Notice that the total here is correct with the updated amount ($40).
  • Now check your Stripe dashboard. Notice that the charged amount is the previous one ($50)

Expected behavior

  • The customer should be charged with the updated amount in Stripe.

Screenshots

Price breakdown in the order edit page.

Image

Charged amount in Stripe

Image

Additional Info

  • p1740569141897919-slack-C7U3Y3VMY
  • 9452517-zd-a8c
@Mayisha Mayisha added the priority: medium The issue/PR is medium priority—it affects lots of customers substantially, but not critically. label Feb 28, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
priority: medium The issue/PR is medium priority—it affects lots of customers substantially, but not critically.
Projects
None yet
Development

No branches or pull requests

1 participant