responsiv / pay-plugin

Payment system for October
Other
52 stars 45 forks source link

Error during payment #50

Closed ghost closed 3 years ago

ghost commented 6 years ago

Hello,

I was playing with thins plugin, I created a test stripe payment method, also created an invoice and payment page, no problem.

When I try to pay an invoice on the frontend, I can see the payment form, I fill the required informations, but when I click on submit, I get the following error that is displayed on a popup :

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd">

"Please specify amount as a string or float, with decimal places (e.g. '10.00' to represent $10.00)." on line 318 of /plugins/responsiv/pay/vendor/omnipay/common/src/Omnipay/Common/Message/AbstractRequest.php

It seems that the price to pay is not correctly passed to omnipay (at least, this is what I understand from the error message). Do you have any suggestions to make it works ?

Thank you

Alex