Hi, please read the following documentation. Let me know if this helps you.
Kind regards
Thank you for your quick response. I’ve looked at the documentation but the same error occurs even with the shortcode provided in the documentation example:
Shortcode:
[accept_stripe_payment price=”0″ name=”Test donation for a good cause” button_text=”Donate Custom Amount”]
From the debug log:
[04/25/2018 9:14 PM] – Payment processing started.
[04/25/2018 9:14 PM] – Triggering hook for addons to process posted data if needed.
[04/25/2018 9:14 PM] – Checking received data.
[04/25/2018 9:14 PM] – Checking price consistency.
[04/25/2018 9:14 PM] – Getting API keys and trying to create a charge.
[04/25/2018 9:14 PM] – Firing pre-payment hook.
[04/25/2018 9:14 PM] – Processing payment.
[04/25/2018 9:14 PM] – FAILURE: Invalid positive integer
However, the normal shortcode buttons with fixed amounts where price=”XX” seem to work.
I have reverted to version 1.7.1 of this plugin (the last previous version I used before updating to the current version) and it does not have this error; custom amounts work with the above shortcode.
Thank you for reporting this. I have submitted a message to the developers to investigate further your findings.
Kind regards.
We will investigate it. In the meantime, if you want to use the latest version you should use the new method of creating a donation product and using that product to collect donation. The following tutorial has step by step info on how to create a donation using the Stripe payments plugin:
https://stripe-plugins.com/accepting-donations-using-stripe-payment-gateway/
Test it out on a test page, I think you will like it.
Hi @temparcweb.
It was a bug in the plugin. It has been fixed in new version 1.8.4, which is going to be released shortly. Please upgrade the plugin and this should fix it.
Sorry for inconveniences.
No problem – I will wait for the update. Thank you all for your help and for developing this plugin!
Hi @temparcweb, the new version is out. Have you test it yet? Can you verify to us if it is working for you.
Thank you
@mbrsolution I just tested it and the custom amount problem appears to be fixed in the new version. Thank you for your help.