#cz-alipay

1 messages · Page 1 of 1 (latest)

turbid timber
#

what's your question?

gaunt moon
#

hi, so I wanted to integrate the feature to allow customer pay with alipay

#

but I am receiving "This payment method (alipay) is not activated for the account specified in on_behalf_of"

#

I wonder what went wrong

#

FYI Alipay is "Active" in /settings/payments -> Eligible

#

Here's my code:

#

const params: Stripe.PaymentIntentCreateParams = {
amount: orderAmount,
application_fee_amount: applicationFeeAmount,
currency,
customer: customer.id,
payment_method_options: {
card: {
request_three_d_secure: request_three_d_secure || 'automatic',
},
sofort: {
preferred_language: 'en',
},
},
payment_method_types: payment_method_types,
on_behalf_of: chefConnectedAccountId,
transfer_data: { destination: chefConnectedAccountId },
};

#

const paymentIntent: Stripe.PaymentIntent = await stripe.paymentIntents.create(
params
);

turbid timber
gaunt moon
#

oh, I don't think I am in any beta

#

so you mean my customer cannot use alipay if I am not in beta testing? or I can still make it to work without using on_behalf_of

turbid timber
#

you'd need to either ask support about getting added to the beta, or not use on_behalf_of for alipay payments

gaunt moon
#

not use on_behalf_of for alipay payments => does it work for connect account?

#

if so, how can I make the change upon my current request form?

turbid timber
#

you'd drop the on_behalf_of param, and leave the transfer_data

gaunt moon
#

okay, thank you I will try that in a bit