- Issue created by @gbyte
- π¬π§United Kingdom aaron.ferris
aaron.ferris β made their first commit to this issueβs fork.
- π¬π§United Kingdom aaron.ferris
Raised an MR, but for complete transparency its a bit of a flyer as I don't use Stripe.
- Status changed to Needs review
9 months ago 3:02pm 18 May 2024 - Status changed to Active
9 months ago 3:08pm 18 May 2024 - π©πͺGermany gbyte Berlin
@aaron.ferris
This is a support ticket still - I'd like to hear from the maintainer. Your MR won't work properly as Stripe expects the last two digits to be the cents value, so 1234 will be 12,34 instead of 1234. The stripe field does not accept floating point numbers so there are more things to do here anyway. Just checking with the maintainer what the overall goal is and I'm happy to share my work afterwards.
- Status changed to Fixed
26 days ago 1:50am 28 January 2025 - π³π΅Nepal sujan shrestha Kathmanduπ³π΅, Nepal
Hi @gbyte @aaron.ferris , Apologies for the late response, and thank you for your feedback! Iβve updated the stripe-payment.html.twig file so that the price is pulled from the field value instead of being hard-coded. I also made a change in the StripeController.php file, where I added $productPrice = $productPrice * 100; to convert the price into the smallest unit of the currency (like cents). Could you please review the changes and let me know if everything looks good?
Automatically closed - issue fixed for 2 weeks with no activity.