#akram.alsaidi

1 messages · Page 1 of 1 (latest)

minor thicketBOT
short pulsar
#

because need to retrieve data for customer who is paid after payment is confirmed

#

name and email ...etc

analog lantern
#

Hello! Are you retrieving the Payment Intent server-side or client-side?

short pulsar
#

create Payment Intent by server side and confirm Payment Intent by client-side

#

and can retrieving data after confirmed

#

this date from client side

#

this server side

#

this client side

analog lantern
#

So the types of things you can retrieve client-side with a publishable key is pretty limited.

#

Things like name/email you'll probably need to retrieve server-side and send back to your frontend

short pulsar
#

this data after created payment

#

by payment elemnt

#

before submit this form

#

becuse our platform able pay without login

analog lantern
#

Yeah did you see what I mentioned already - the types of things you'd be able to retrieve client-side are pretty limited, so you'd need to retrieve it server-side

#

Server-side you can retrieve the Payment Intent and expand the customer and/or payment intent and get all the information you need