Hello @fdecicco,
It is not possible, is the short answer.
Now for a longer version, Direct stripe was not aimed at manipulating items like a cart would.
I am working on a version 2 with filtered functions, but I don’t know when I will be ready.
We can imagine it would allow you to filter the shortcode amount argument to multiply it by a custom input number…
Right now there are actions :
* direct_stripe_before_form
* direct_stripe_after_data_fields
* direct_stripe_after_script_tag
* direct_stripe_after_form
* direct_stripe_before_success_redirection
* direct_stripe_before_error_redirection
The last two pass $chargeID $post_id $button_id and soon $user_id
Best regards
Thank you Nicolas. I appreciate your prompt reply.
I figured this would not be possible with a shortcode that places a button but wanted to give it a try in case you had some fancy filter. 🙂
What is interesting is that no such plugin exists, neither on WordPress nor CodeCanyon or anywhere else. I checked many of them and they all do the same thing.
The alternatives seem to be to use full woocommerce, use add-on to form builder plugin such as gravity, ninja etc. for about $200 or just custom code it which is rather simple and I have already done but don’t really like to implement for clients for long term maintenance reasons.
your solutions when available will fill a huge void and the form builder plugin vendors might not appreciate it. (Just joking)
Thank you again.
Frank.