#K.Danz
1 messages · Page 1 of 1 (latest)
👋 happy to help
how are you integrating with Stipe? would you mind sharing your code?
i use nuxt-stripe-module and i add to module in nuxt.config.js . Here is code, works on local both 3ds & non-3ds but not on live. ` const { data } = await this.$services.payment.subscribe(
this.product.id,
this.selectedPaymentMethod!
);
if (data.client_secret) {
//require 3d secure
const result = await this.$stripe!.confirmCardPayment(data.client_secret, {
payment_method: this.selectedPaymentMethod!,
});
}`
this is how you should confirmPayments https://stripe.com/docs/payments/accept-a-payment?platform=web&ui=elements#web-submit-payment
ok i'll try to implement this way, thanks