#krishna-awate_api
1 messages ยท Page 1 of 1 (latest)
๐ 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.
Hello
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
Okay
const paymentIntent = await stripe.paymentIntents.create
I am using this one. Not able to find docs for same
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?
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
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
But it is taking time to load it. & I want to control UI of card from my side
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?
Do you mean creating your own form inputs to accept card payments
Answer: Yes
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
๐ taking over for my colleague. Let me catch up.
@frank oriole I'm not sure what different UI are you expecting, would you mind elaborating?
It is taking time to load
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
Okay sir
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.
Google Pay is not available on Stripe for Indian Merchants anyways
you can't process Google Pay through Stripe
Is there any way to make seperate card and other payment methods ?
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
Can I do it using Stripe? UPI
yes
Can you please share me docs
Can I onboard stripe in India?
UPI is an Indian PM
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?
yes
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?
๐ 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
To avoid having to create a Payment Intent or Checkout Session when clicking each tab, you can also show the Payment Element first, configured with just card/upi: https://docs.stripe.com/payments/accept-a-payment-deferred?platform=web&type=payment#add-the-payment-element-to-your-checkout-page
Okay sir