#K.Danz

1 messages · Page 1 of 1 (latest)

gleaming trellisBOT
haughty niche
#

👋 happy to help

#

how are you integrating with Stipe? would you mind sharing your code?

honest sluice
#

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!,
    });

}`

haughty niche
honest sluice
#

ok i'll try to implement this way, thanks