#grace_m6795

1 messages · Page 1 of 1 (latest)

fervent oxideBOT
winter heron
#

Can you share some details about how you're creating Payment Intents and how you're initialising the Payment Element?

#

A pi_xxx ID example would be great!

spring dragon
#

ok

#

pi_3OaBZ3F3L9Yxs6dM1zab5OIP

winter heron
#

Taking a look!

#

Hmm, why would you need to render a Payment Element for that payment? You passed an existing card payment method on creation so we charged that

#

Can you share the code you use to render the Payment Element?

fervent oxideBOT
spring dragon
#

sure

#

var crs_currency_code = form.find('input[name="crs_currency_code"]').val();
const options = {
mode: 'payment',
currency: crs_currency_code,
amount: 100,
paymentMethodCreation: 'manual',
};
stripe.stripe = Stripe(publishable_key, {stripeAccount: account_id});
elements = stripe.stripe.elements( options );

    const paymentElementOptions = {
        layout: "tabs",
    };
    
    const paymentElement = elements.create("payment", paymentElementOptions);
    paymentElement.mount("#payment-element");
novel gulch
#

👋 taking over for my colleague. Let me catch up.

#

@winter heron was still investigating this, I just heard back from them. Basically the reason why you're not getting any other payment method than cards is because your connected account is controlled by your platform, meaning that it will inherit the Payment Method Configuration (PMC) from the platform

#

in your case only cards are allowed in the default PMC on the platform

spring dragon
#

Ok. Then is there a way to see other payment methods as well.

novel gulch
#

you just need to enable them on the Platform's dashboard

spring dragon
#

I've already enabled all the payment methods in the dashboard

novel gulch
#

not the connected account's dashboard

#

the platform's one