#andrei_api

1 messages ยท Page 1 of 1 (latest)

silk portalBOT
#

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

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

Below are links to other discussions we've had with you in the past week in case you want to review that information. If your question is related to one of these previous discussions, please provide a comprehensive summary of the current state and what you need help with now. We help many users simultaneously, so a summary allows us to resolve your issue as soon as possible.

ember drift
#

๐Ÿ‘‹

Can I use apple pay and google pay for recurring payments? And if yes, does it use SetupIntent under the hood?
it depends on the Subscription, if it's with trial period then yes it uses Setupintent and if not then it's PaymentIntents

silk portalBOT
ember drift
stray sphinx
#

nice! that's perfect - about subscription

#

and about second question, I mostly asking about button

#

since I need to implement logic, that's checks if button is available
I found only 2 realizations: Express Checkout and paymentRequest API

shrewd pagoda
#

I don't want to handle money amount and currency on frontend
Shouldn't need to if mode: 'setup'

shrewd pagoda
stray sphinx
#

yes, but as far as I get, when I'm using stripe.paymentRequest({ ... }); I need to pass amount?

#

maybe there is an analog for this api on backend that it could handle and just gave me the response of availability

shrewd pagoda
shrewd pagoda
stray sphinx
#

what does ECE use under the hood? is it possible to connect it with SetupIntent?

#

and does ECE usable for reccuring payments?

shrewd pagoda
stray sphinx
#

perfect

#

thanks a lot ๐Ÿ™‚

shrewd pagoda
#

No problem, glad I could help!

stray sphinx
#

sorry

#

one more question

#

<section className="d-flex flex-col gap">
<ExpressCheckoutElement onConfirm={() => console.log('')} />
<FormDivider text={l.translate('Or enter payment details')} />
</section>

as far as I understand, ExpressCheckoutElement will render button, but how can I check it on frontend if its available?

shrewd pagoda
#

You mean programatically check if there are wallets available?

stray sphinx
#

ye, for current account

shrewd pagoda
stray sphinx
#

oh

#

onReady?: (event: stripeJs.StripeExpressCheckoutElementReadyEvent) => any;

#

this one, right?

shrewd pagoda
#

Yes

stray sphinx
#

perfect