Hi,
I have 2 questions
1.
I have a toggle giving the user the option to pay by cash or card,
I would like the app to navigate to the stripe payment page when value "card" is selected,
I tried it on valuechange but it didnt work
2.
on stripe payment page there is a component called "amountInput"
I have a variable called "totalprice"
on page load I have this code to load the variable to the component
var totalprice = parseFloat(localStorage.getItem("totalprice")).toFixed(2);
Appery("amountInput").text(totalprice);
I have tried on page load and page show, but I am not getting the variable to populate the component, I also tried on complete and on success of the StripePayment_ChargeService but no luck