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

BUG : Stripe minimum order amount #92

Closed
tomik-z-cech opened this issue Mar 14, 2024 · 1 comment
Closed

BUG : Stripe minimum order amount #92

tomik-z-cech opened this issue Mar 14, 2024 · 1 comment

Comments

@tomik-z-cech
Copy link
Owner

Describe the bug :
Stripe payment intent cannot be created if the amount to charge is < 0.50 €.

To Reproduce :

  • Navigate to shop
  • Navigate to any item that has price per unit less than 50c.
  • Navigate to Vault
  • Navigate to Secure Checkout from Vault
  • See terminal for error message

Expected behavior :
All payment intents are sucessfully created.

Screenshots :
stripe-bug

Devices :
All devices.

Additional context :
Minimum order amount needs to be created and applied in Checkout logic.

@tomik-z-cech
Copy link
Owner Author

Minimum order value added to postage settings model and line elif subtotal < postage_settings.minimum_order: added to checkout views.py.

Bug fixed in commit e4af873.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Development

No branches or pull requests

1 participant