#krishna-awate_api

1 messages ยท Page 1 of 1 (latest)

lethal hullBOT
#

๐Ÿ‘‹ Welcome to your new thread!

โฒ๏ธ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question.

โฑ๏ธ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always start a new thread if you have another question.

๐Ÿ”— This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1494566705601450195

๐Ÿ“ Have more to share? Add more details, code, screenshots, videos, etc. below.

frank oriole
#

Hello

echo musk
#

Hello! Just to clarify, do you only want to show cards as a payment method on your checkout page?

#

Want to integrate cards on my payment page but without Stripe loaded standard checkout
And could you send me the relevant docs you are refering to which has the exact checkout integration that you would like to integrate. This will help me along with the investigation

frank oriole
#

Okay

frank oriole
#

const paymentIntent = await stripe.paymentIntents.create

I am using this one. Not able to find docs for same

echo musk
#

And I am guessing that you are using Payment Element in the frontend?

#

Could you let me know if this is what you eventually want on your checkout page?

frank oriole
#

And I am guessing that you are using Payment Element in the frontend?
Answer: Yes

#

I do not want to see all optins in one page.

#

I want separte card option.

#

Also stripe checkout is taking time to load

#

I need custom integration not standard

echo musk
#

Ah I see, then you would need to only specify cards in the payment_method_types: ['card'] when creating the paymentIntent. This will only show the card option

#

I need custom integration not standard
Right so the Payment Element + Payment Intent docs i sent you is the most customised integration style already

frank oriole
#

But it is taking time to load it. & I want to control UI of card from my side

echo musk
#

Could you send me a screenshot or video of this long loading time?

#

I want to control UI of card from my side
Do you mean creating your own form inputs to accept card payments?

frank oriole
#

Do you mean creating your own form inputs to accept card payments
Answer: Yes

echo musk
#

If you collect card details in your own HTML inputs, your systems directly handle raw card data. This would mean that you need to remain compliant with PCI laws and this means annual audits, penetration testing, network segmentation, and 300+ security controls you must satisfy.

We call it out in our docs here:

If your business handles sensitive credit card data directly when accepting payments, you might be required to meet more than 300 security controls in PCI DSS. This might require you to purchase, implement, and maintain dedicated security software and hardware, and hire external auditors to support your annual assessment requirements.
https://docs.stripe.com/security/guide#use-low-risk-integrations

#

I wouldnt recommend this unless you have a experienced developer team + compliance team supporting you for this.

#

But it is taking time to load it.
If you could send me a screenshot/recording of this long loading time that is happening for you, I can try to help to see what improvements can be made

frank oriole
lethal hullBOT
smoky cairn
#

๐Ÿ‘‹ taking over for my colleague. Let me catch up.

smoky cairn
# frank oriole

@frank oriole I'm not sure what different UI are you expecting, would you mind elaborating?

frank oriole
#

It is taking time to load

smoky cairn
#

it's less than 3sec

#

it's normal

#

to make it faster, you can create the PaymentElement but not mount it until the customer clicks on the card option

#

this would preload stuff and make it faster to show

frank oriole
#

Okay sir

frank oriole
#

what if I want to create diffrent options like Google pay and card from my UI not on stripe?

#

On selection button I want to give option for Card and Google pay. When user click on card, it will be shown.

smoky cairn
#

Google Pay is not available on Stripe for Indian Merchants anyways

frank oriole
#

Any other option want to customize manually

#

Using my own button

smoky cairn
#

you can't process Google Pay through Stripe

frank oriole
#

Is there any way to make seperate card and other payment methods ?

smoky cairn
#

what do you mean exactly by that? in the screen recording you shared, the card is alone

#

if you want to integrate UPI alone, this is possible

frank oriole
#

Can I do it using Stripe? UPI

smoky cairn
#

yes

frank oriole
#

Can you please share me docs

frank oriole
#

Can I onboard stripe in India?

smoky cairn
#

UPI is an Indian PM

frank oriole
#

I have main account & client will connect their account with my own account. I will receive commission charges in my main account when payment is done on connected account. Can Indian client onboard their account in stripe?

smoky cairn
#

You mean your platform and the connected accounts are in India?

#

yes that's possible

frank oriole
#

Okay.

#

Can I load UPI seperately and card separately. With separate button

smoky cairn
#

yes

lethal hullBOT
frank oriole
#

payment_method_types: ["card"]

Do I need to call two different checkout?
As I do not want to show card & UPI on same box

#

want to handle both with different button

#

Button Flow
๐Ÿ’ณ Pay with Card- Card render
๐Ÿ“ฑ Pay with UPI - QR or UPI option render

#

can I do that?

hidden oar
#

๐Ÿ‘‹ Hi there! I'm taking over for my colleague. Let me take a look

#

Yes, you could show the Payment Element on one tab for Cards, and on another tab for UPI

frank oriole
#

Okay sir