#zakirhossenlive

1 messages ยท Page 1 of 1 (latest)

quasi basaltBOT
sharp hound
#

hello! how can i help?

woven dirge
#

hi

#

Is it possible to retrieve customer credit card information in my website from stripe?

sharp hound
#

what information are you looking for specifically?

woven dirge
#

Credit card,
CVC,
Expire date

#

something like this

sharp hound
woven dirge
#

ok

woven dirge
#

hi

sharp hound
#

๐Ÿ‘‹

woven dirge
#

Is it possible to create session with custom card

sharp hound
#

i don't really understand what you mean by creating a session with a custom card

#

what session are you referring to?

woven dirge
#

it is saving credit card for future

sharp hound
#

alright, and what do you mean when you say you want to create a Checkout Session with a custom card? can you elaborate more on that?

#

for context, a Checkout Session with mode=setup, is used to collect a payment method from the customer for future use. So i'm not really understanding why you're creating a card in your server first

woven dirge
#

my client want me to create a custom checkout page. Instead of going to stripe website to fill up just want to show side popup. Where customer will give their address and card.

#

Then the card information will be saved in database

#

then from the php code I want to create the card with that given information in stripe.

sharp hound
#

you'll need to build your own UI then, and you should be following the instructions in the Custom payment flow tab

woven dirge
#

ok

#

that one looks like hard to make

#

shall i use it?

sharp hound
#

sorry i don't understand

#

what do you mean by it looks hard to make?

#

and i can't tell you if you should use it if i don't know what you're trying to do

woven dirge
#

Here it is automatically creating input boxes

sharp hound
woven dirge
#

ok

sharp hound
#

is there a concern with it automatically creating input boxes?

woven dirge
#

my clients want something like this

#

it should show popup like this

#

instead of redirecting to another website

sharp hound
#

you need to implement that yourself

woven dirge
#

ok

#

let's say. i have made the design

#

and then send POST request to php page

#

then I want to make a customer in stripe with those given credit card information

#

So, I can charge later

sharp hound
#

the custom payment flow - gives you a simple step by step guide to how to accept a payment with the Payment Element : https://stripe.com/docs/payments/payment-element. It's up to you to design and implement how the page / popup looks like with the Payment Element

woven dirge
#

I mean the first one i have tried

#

but it is redirecting to stripe checkout

#

then i tried to show it in iframe

#

but looks like not working

sharp hound
#

as i've mentioned before - you should be following the instructions in the Custom payment flow tab on that page

woven dirge
#

ok. but that one is generating the elements right?

#

I think i can use it

sharp hound
#

yes, it will generate the Element.

woven dirge
#

but i need to know, if I can charge it later or not

woven dirge
sharp hound
woven dirge
#

ok

#

hello

sharp hound
#

hello

sharp hound
#

try it out and see