#ak@sh-checkout-india
1 messages ยท Page 1 of 1 (latest)
Hi ๐
We can only help with the Stripe API side of things. Do you have question about the Stripe APIs?
Well actually, my server-side code works fine. But the thing is it only works for "card". I at least need Google Pay to be in there. Btw, I am from India, and it heard only the test for Google pay won't work right? The normal integration should be fine? I'm kinda new so not sure
This is my api
console.log("Process payment called...");
let event = req.body.event;
let price = req.body.price;
const lineItems = [
{
price_data: {
currency: "inr",
product_data: {
name: event,
},
unit_amount: Math.round(price * 100),
},
quantity: 1,
},
];
const session = await stripe.checkout.sessions.create({
payment_method_types: [
"card"
],
line_items: lineItems,
mode: "payment",
success_url: "http://localhost:8080/#!/Temp",
cancel_url: "http://localhost:8080/#!/Temp",
});
res.json({ id: session.id });
});```
Google pay wont work in india, that is correct
So, Google Pay can't be in the checkout page in India?
Correct
Alright. Thank you then
Happy to shed what ๐ก I can ๐
Sorry to ping you. But how about "link"? Will that work?
Is your question "Will Link work in Inda"
Yeap
I am not 100% certain. I would recommend contacting Support to ensure we support Link in India
https://support.stripe.com/contact
Got it. Thank you