I am with stripe and having issues getting a dynamic value into the “Amount” field within the Stripe Create Payment Intent. I am passing the data value from one page to another using a Session Variable called session_order_total. I can recall the variable at anytime on the client side to prove it has the correct value. On the server side I cannot retrieve the value of the session variable and place it into the Amount field with the Stripe Create Payment Intent area. I set a variable called order_total under Input, $_SESSION area and when applied to the Amount field there is no value. I also tried {{$_GET.session.order_total}} and the amount field it still has not value. Can someone help with the right solution?
I am working on Windows 10 with the latest release of Wappler 3.9.5.The code is in PHP.
One other problem, how to recall the the values from stripe to apply to my database table? I have followed the Stripe guides Teodor has made for Stripe checkout and webhooks. I have the Stripe_Webhooks window open on the bottom of the screen and can see that there are indications of payment_intent_create, payment_intent.suceeded and chrage.suceeded. My question is how do I get the data so the I can place it into my data tables.
Any help would be greatly appreciated. Thank you. Jim
Last updated: