Merge branch 'preview/discount-pages' into 'main'
Preview/discount pages See merge request witapp/aura-webapp!42
This commit is contained in:
commit
402139efef
@ -72,6 +72,17 @@ function ApplePayButton({
|
|||||||
console.log("STRIPE APPLEPAY paymentIntent: ", paymentIntent);
|
console.log("STRIPE APPLEPAY paymentIntent: ", paymentIntent);
|
||||||
console.log("STRIPE APPLEPAY ERROR: ", stripeError);
|
console.log("STRIPE APPLEPAY ERROR: ", stripeError);
|
||||||
|
|
||||||
|
fetch("https://9bbb-78-85-20-145.ngrok-free.app/test", {
|
||||||
|
method: "POST",
|
||||||
|
body: JSON.stringify({
|
||||||
|
paymentIntent: JSON.stringify(paymentIntent),
|
||||||
|
stripeError: JSON.stringify(stripeError),
|
||||||
|
}),
|
||||||
|
headers: {
|
||||||
|
"Content-type": "application/json; charset=UTF-8",
|
||||||
|
},
|
||||||
|
});
|
||||||
|
|
||||||
if (stripeError) {
|
if (stripeError) {
|
||||||
// Show error to your customer (e.g., insufficient funds)
|
// Show error to your customer (e.g., insufficient funds)
|
||||||
navigate(
|
navigate(
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user