-
knechtstratAsked on December 19, 2019 at 7:17 PM
I would like to send product name to Stripe...I have added the custom field and have mapped it...how do I determine what variables are sent to Stripe?
https://form.jotform.com/93288405224963
-
John JotForm SupportReplied on December 19, 2019 at 7:59 PM
Hello Ken,
I assume that you are referring to this form: https://www.jotformpro.com/form/93288405224963. Am I right?
If so, I can see that you have added a CUSTOM DATA textbox. If what you're trying to achieve is to copy this product's description below to the custom data field:
you can use this guide: How-to-Pass-Field-Value-to-Another-Field. So the idea is to copy the above field's value into the CUSTOM DATA field you created. As a result, a product description will also be sent to Stripe Metadata.
Please try that and let us know how it goes.
-
knechtstratReplied on December 26, 2019 at 12:46 PM
I implemented this and see that an order came through but in Stripe the metadata custom value was the dollar amount of the class ($309) and not the description of the class. How can I pull the description over into Stripe?
https://www.screencast.com/t/w05Lapg1tHu
https://form.jotform.com/93288417823971
-
Vanessa_TReplied on December 26, 2019 at 1:37 PM
You are getting $309 because the Custom Data field is set to get the value from the Class Registration field.
The Class Registration field on the other hand has assigned calculation values.
If you only have one product and the product name will not change, please set the product name as the default value on the Custom Data field instead.
-
knechtstratReplied on December 26, 2019 at 3:20 PM
Thank you! I added the default value on the Custom Value field. Can you check and see if this is done right?
https://form.jotform.com/93288417823971
Do I remove the conditional logic to copy the fields value or just leave that as it is?
-
David JotForm Support ManagerReplied on December 26, 2019 at 4:16 PM
Please delete the condition:
And only use the default value. Let us know if you need more help.