#pure_docs

1 messages ยท Page 1 of 1 (latest)

autumn kindleBOT
#

๐Ÿ‘‹ 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/1232865288077185024

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

dapper fiberBOT
gritty lava
#

Hi there,

  1. No, there's no reference-only currency conversion
  2. I don't see how manual capture can make a difference in terms of currency conversion, can you elaborate?
umbral charm
#

There's a restriction listed here that adaptive pricing does not apply if you use manual capture mode.

gritty lava
#

Ok, then you can't do manual capture with adaptive pricing. I don't see an alternative here

delicate sphinx
#

Hi there, do we have ach_debit - ACH Payment gateway support in javascript sdk for nestjs and react. https://docs.stripe.com/payments/quickstart i checked using sample code but i am unable to use it

Learn how to embed a custom Stripe payment form in your website or application. Build a checkout form with Elements to complete a payment using various payment methods.

gritty lava
delicate sphinx
#

what about apple pay and google pay?

gritty lava
#

Are you using payment element?

delicate sphinx
#

const paymentIntent = await stripe.paymentIntents.create({
amount: calculateOrderAmount(items),
currency: "usd",
payment_method_types: ["sepa_debit"]
});

res.send({
clientSecret: paymentIntent.client_secret,
});
}

#

i was creating payment intents

gritty lava
#

If you are using payment element, it'd support both ach direct debit and card payments (including apple pay and google pay)

delicate sphinx
#

ok can we have any sample code for this

#

using javascript sdk it is not possible? currently how may payment methods are supported in this

gritty lava
delicate sphinx
#

i was trying for ach , google pay , apple pay export default async function handler(req, res) {
const { items } = req.body;
//sepa_debit
// Create a PaymentIntent with the order amount and currency
const paymentIntent = await stripe.paymentIntents.create({
amount: calculateOrderAmount(items),
currency: "usd",
payment_method_types: ["sepa_debit"]
});

res.send({
clientSecret: paymentIntent.client_secret,
});
} it is not working for me

#

can you provide target codes to load UI for ach , google pay , apple pay

gritty lava
#

Can you share with me your frontend code?

#

Aslo you only included sepa_debit in payment_method_types, so payment element will only render sepa debit

delicate sphinx
gritty lava
#

and for Google pay you need to serve your webpage through https

delicate sphinx
gritty lava
#

Once you complete the above, you also need to add valid card to your Apple Pay and Google Pay wallets respectively.

delicate sphinx
#

can you send me sample code

gritty lava
#

I've already shared with you the link to sample code. As I explained earlier, google pay and apple are not showing in your page because

  1. you only included sepa_debit in payment_method_types
  2. you haven't completed the pre-requistites for google pay and apple pay.
delicate sphinx
#

apple pay and google pay prerequiste steps

gritty lava