Making calculations with custom fields to define the price
-
Hi!
I’m using this plugin (https://wordpress.org/plugins/calculate-values-with-shortcodes/) to calculate two custom fields to define the price that has to be paid. This works fine everywhere, but when I use a shortcode in the Direct Stripe shortcode it breaks the payment button. This is the shortcode i’m using:
[direct-stripe type="payment" button_id="[wpv-post-id]" amount="[calculate][types field='price' output='raw'][/types]*[types field='days' output='raw'][/types][/calculate]00" name="Project" description="[wpv-post-title output="sanitize"]" label="Pay" panellabel="Pay now"]
Is there any way to get this working?
Thanks a lot 🙂
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Making calculations with custom fields to define the price’ is closed to new replies.