#blagi.connecto

1 messages · Page 1 of 1 (latest)

tribal surgeBOT
hazy trout
#

Hi! Let me help you with this.

ripe vapor
#

Ok. Thanks Vanya.

#

req_C9l6BvCzxSfwZU

hazy trout
#

How are you creating the Payment Element?

#

Could you please share the code?

#

You will need to set capture_method: "manual", there too

ripe vapor
#

const options = {
mode: 'payment',
amount: amount,
currency: 'eur',
};
elements = stripe.elements(options);
const paymentElementOptions = {
layout: "tabs",
fields: {
billingDetails: {
address: {
country: 'never',
}
}
}
};
const paymentElement = elements.create("payment", paymentElementOptions);
paymentElement.mount(config.payment_element_id);
I was searching for capture_method parameter in element JS api, but didn't find it.
I added

#

I added capture_method: manual, to options,
Not getting that error but don't get to that point after authorization. Have to check what's going on.

#

Thanks Vanya for now.

hazy trout
#

What do you mean by "don't get to that point after authorization"?

#

capture_method: manual limits the available payment method types.