#lujie - alipay

1 messages · Page 1 of 1 (latest)

cedar drift
#

Hi there!

#

Yes that possible

true trench
#

hi soma, "You cannot confirm this PaymentIntent because it's missing a payment method. You can either update the PaymentIntent with a payment method and then confirm it again, or confirm it again directly with a payment method" , i got the error message

#

par2 := &stripe.PaymentIntentConfirmParams{
PaymentMethodTypes: []*string{
stripe.String("alipay"),
},
}

#

I use this code

cedar drift
true trench
#

may i implement it by server api interface?

#

paymentintent.New->?->paymentintent.Confirm

#

which interface is for collect payment information

cedar drift
#

Wait, I think I was wrong, the link I shared earlier directly used confirmAlipayPayment. However you need to do it on the frontend.