#faruk

1 messages · Page 1 of 1 (latest)

dark jettyBOT
worthy ivy
bright fox
#

i cant see any req_XXX in object

worthy ivy
#

Sorry, confused myself. Just the sub_xxx ID

bright fox
#

sub_1Mlr1ZSDnAylgH8hwCmTH6W1

worthy ivy
bright fox
#

where should i add this element?

#

is there any solution to get payment withount customer confirmation

worthy ivy
worthy ivy
bright fox
#

this is my front-end javascript code, i dont understand where i should add confirm payment code

worthy ivy
#

Out of interest, where are you referencing this code from? It's pretty outdated

#

You'd create the Subscription in PHP backend, and return the associated Payment/Setup Intent to your JS front-end. There you can initialise an Element, collect payment information form your customer and attempt payment, which handles the 3DS/auth part too.