#ravid_53977

1 messages · Page 1 of 1 (latest)

winter larkBOT
#

Hello! We'll be with you shortly. Below are links to other discussions we've had with you in the past week in case you want to review that information. If your question is related to one of these previous discussions, please provide a comprehensive summary of the current state and what you need help with now. We help many users simultaneously, so a summary allows us to resolve your issue as soon as possible.

subtle sage
#

We have blik activated in our account and the amount is over the minimum

olive valley
#

Hi
Can you share the PaymentIntent id ?

subtle sage
#

i don't have a payment intent, it's before that

#

in the paymentMethodTypes field in the options object we have only blik

#

we want to show only blik and it fails to load with the console error

olive valley
#

Are you using defered approach ?

subtle sage
#

what is this?

olive valley
#

How are you using Elements without an Intent? what guide are you following exactly ?

#

Can you share your code snipets ?

subtle sage
#

const [stripeOptions, setStripeOptions] = useState<StripeElementsOptions>({ mode: 'payment', amount: 5000, currency: 'pln', paymentMethodCreation: 'manual', paymentMethodTypes: ['blik'], loader: 'never', // Fully customizable with appearance API. appearance: { variables: { fontSizeSm: '12px', }, disableAnimations: true, }, });

#

this is the stripe options

olive valley
#

Are you using you live or test mode keys ?

subtle sage
#

test mode

olive valley
#

Is there a reason behind setting paymentMethodCreation: 'manual', ?

subtle sage
#

Not sure

#

should i remove it?

#

removed it, didn't work

olive valley
#

can you share your AccountId ?

subtle sage
#

acct_1NScG6DP6fXTZiUu

granite ore
#

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

#

what's the request ID?

subtle sage
#

There is no request id it's happening on init I'm just trying to render the blik APM

#

there is no pay request

#

or a payment intent

#

it's happening before

granite ore
#

would you mind sharing your code then?

#

oh sorry you already did

subtle sage
#

Yep, please update me

granite ore
#

still looking into it

#

so basically you can't use the deferred flow with BLIK

subtle sage
#

const [stripeOptions, setStripeOptions] = useState<StripeElementsOptions>({ mode: 'payment', amount: 5000, currency: 'pln', paymentMethodCreation: 'manual', paymentMethodTypes: ['blik'], loader: 'never', // Fully customizable with appearance API. appearance: { variables: { fontSizeSm: '12px', }, disableAnimations: true, }, });

#

But i specify it in the begging

#

?

#

how can i make it work?

granite ore
#

BLIK is not supported in the deferred flow

#

you need to create the PaymentIntent first

#

and then pass the client_secret to the front end

#

otherwise it won't work with BLIK