#Aimer-Migration

1 messages · Page 1 of 1 (latest)

candid musk
past shoal
#

i think the way i initiate stripe is for old version right

candid musk
#

Actually v3 is the correct version

past shoal
candid musk
#

Hmm, are you trying to call a node.js API in frontend js?

past shoal
#

yeah

#

i shouldn't do this right

#

i thought this one was for frontend my bad

candid musk
#

No problem, your backend is written in PHP right? you can select PHP tag in the doc and all example code will be in PHP.

past shoal
#

ok ok

#

sorry, just a new jr develop whose senior just quit his job and leave everything to me xD

candid musk
#

My shrift is over and my colleague will join this thread to help you soon!

tiny stream
#

Hi! Let me know if you have other questions.

past shoal
#

is this public or secret

tiny stream
#

It depends what you are trying to do. If it's for your backend code, then it should be the secret key (sk_xxx)

#

If it's for the frontend code (in JavaScript) then it should be the public key (pk_xxx)

past shoal
#

got it

past shoal
#

so what i did was

#

i make an intent from laravel backend

#

and then pass the payment intent to the blade

#

like this

#

am i doing it right

tiny stream