You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe
Too many Api calls will incur many networks related issue, and also take more time。
on stripe-payment-form.js, the following three APIs calls can be merged to ONE API call.
await fetch(updatePaymentIntentUrl.replace('PAYMENT_INTENT', paymentIntent.id));
await fetchPost('checkout/validate/Stripe');
await fetchPost('checkout/params/Stripe'),
Describe the solution you'd like
in the backend, firstly, save paymentIntent.id.
secondly, validate it on the C# under the same api.
finally get the params
github-actionsbot
changed the title
Too many Api calls will incur many issues, and also take more time
Too many Api calls will incur many issues, and also take more time (OCC-284)
Aug 19, 2024
FOR EXAMPLE, I think we do not need this code:
const { paymentIntent } = await stripe.retrievePaymentIntent(clientSecret);
await fetch(updatePaymentIntentUrl.replace('PAYMENT_INTENT', paymentIntent.id));
after we get #490 fixed . @sarahelsaig
Is your feature request related to a problem? Please describe
Too many Api calls will incur many networks related issue, and also take more time。
on stripe-payment-form.js, the following three APIs calls can be merged to ONE API call.
await fetch(updatePaymentIntentUrl.replace('PAYMENT_INTENT', paymentIntent.id));
await fetchPost('checkout/validate/Stripe');
await fetchPost('checkout/params/Stripe'),
Describe the solution you'd like
in the backend, firstly, save paymentIntent.id.
secondly, validate it on the C# under the same api.
finally get the params
Jira issue
The text was updated successfully, but these errors were encountered: