#grace_m6795
1 messages · Page 1 of 1 (latest)
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!
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?
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");
👋 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
Ok. Then is there a way to see other payment methods as well.
you just need to enable them on the Platform's dashboard
I've already enabled all the payment methods in the dashboard