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

Payment can't be done in cents #135

Closed
srimanaravind opened this issue Sep 1, 2020 · 3 comments
Closed

Payment can't be done in cents #135

srimanaravind opened this issue Sep 1, 2020 · 3 comments
Assignees
Labels
enhancement New feature or request

Comments

@srimanaravind
Copy link

Description

Payment not allowed in cents using the front-end forms

Selection_007

Pull request: #134

Steps to reproduce

  1. Payment form -> enter an amount in cents, eg: 10.50

Additional info

  • Craft version: Craft Pro 3.5.5
  • PHP version: 7.2.33
  • Database driver & version: MySQL 5.5.5
  • Plugin version: 3.0.1
  • Is SCA and Stripe Checkout enabled?: yes
@andrelopez andrelopez self-assigned this Sep 3, 2020
@andrelopez andrelopez added question Further information is requested enhancement New feature or request and removed question Further information is requested labels Sep 3, 2020
@andrelopez
Copy link
Member

Hi @srimanaravind we'll add support to pass the format in the next release.

@srimanaravind
Copy link
Author

@andrelopez thanks, I already created a pull request in case you need it

@andrelopez
Copy link
Member

Hi @srimanaravind we just released Stripe Payments v3.1.0 with support for customAmountStep via options

Thanks for the PR

{{ craft.enupalStripe.paymentForm('handle', {'customAmountStep' : "0.01"}) }}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants