#kekko7072

1 messages · Page 1 of 1 (latest)

faint ravineBOT
#

Hello! We'll be with you shortly. 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.

jade blaze
vast ember
#

ok i have this code for checkout: const session = await stripe.checkout.sessions.create({
mode: "payment",
payment_method_types: ["card", "paypal"],
customer: customerId,
// https://stripe.com/docs/payments/accept-a-payment?platform=web&ui=checkout#save-payment-method-details
// With this Apple Pay it's not shown.
payment_intent_data: {setup_future_usage: "off_session"},
currency: "eur",
line_items: [
{
price_data: {
currency: "eur",
product_data: {
name: "Powerbank",
},
unit_amount: priceAmount,
},
quantity: 1,
},
],
success_url:
process.env.API_ENV === "dev" ?
${amperryGoDomainDev}/success :
${amperryGoDomainProd}/success,
cancel_url:
process.env.API_ENV === "dev" ?
${amperryGoDomainDev}/cancel :
${amperryGoDomainProd}/cancel,
metadata: {
uid: uid,
stationId: stationId,
orderId: orderId,
},
});

#

with this when user pay and the card it's save to use i will be able to charge user the amount and will they be able to pay with pay pal off session?

jade blaze
#

If they pay with a card PayPal isn't involved, so no.

#

If they pay with PayPal and your account has been granted access to saving PayPal for future use, then yes.

vast ember
#

oj thanks.

#

another question about incremental-authorizations

#

in terminal

#

i have only two days to increment and caputre the amount, am i right?

jade blaze
#

I'm not aware of a two day limit.

#

Where did you see that?

jade blaze
#

That does not apply to Terminal.

#

Nor does it apply to incremental authorizations.

#

It applies to placing a hold on a payment method, which is different.

#

If you place a hold with Terminal the time limit to capture it is 2 days, yes.

#

But that's not incremental authorizations.

vast ember
#

ok

#

so for how many days i can have it ?

#

before it expires?

jade blaze
#

Have what?

#

Please be more specific. I don't know if you're talking about incremental authorizations, placing a hold, or something else.

vast ember
#

incremental authorization

#

how many days i have to complete the payment and capture it?

jade blaze
#

There is no time limit as far as I know.

#

And, to be clear, it's not a capture.

#

It's another authorization attempt, and it might be declined.

#

From our docs:

Incremental authorizations attempt to increase the authorized amount on your customer’s card to the new, higher amount provided. Similar to the initial authorization, incremental authorizations can be declined.

#

This is for your rental business, right? Where you rent out a thing and then charge at the end for the time it was rented?

vast ember
#

ok thanks

jade blaze
#

Why were you asking about Checkout above? Is that for something different?

vast ember
#

no it's the same service

#

but user can rent using a web app

#

or terminal pos

#

it's up to them decide what they prefer, it's up to me make sure everyting works.

jade blaze
#

Have you considered not using incremental authorizations at all and instead placing a hold on a large amount up front, then capturing only the amount they actually used after their rental is complete? Or do rental periods last longer than two days?

vast ember
#

yes i proposed but was declined by the pm due to issue on user holding 40 $ for a service that cost 2.5$

jade blaze
#

Declined by the pm? What does that mean?

vast ember
#

sorry, project manager

#

we had the hold method before but users were complaining about pre authorisation.

jade blaze
#

I see. If you don't place a hold then you're opening yourself up to the possibility that your later attempt to charge them will fail.

vast ember
#

yes sure

#

thank for support

#

have a nice day.