#kekko7072
1 messages · Page 1 of 1 (latest)
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.
- kekko7072, 1 day ago, 42 messages
- kekko-terminal-wallet, 1 day ago, 3 messages
Hello! Yes, but you have to request access to be able to do so. See the docs here for details: https://docs.stripe.com/payments/paypal/set-up-future-payments
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?
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.
oj thanks.
another question about incremental-authorizations
in terminal
i have only two days to increment and caputre the amount, am i right?
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.
Have what?
Please be more specific. I don't know if you're talking about incremental authorizations, placing a hold, or something else.
incremental authorization
how many days i have to complete the payment and capture it?
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?
ok thanks
yes exactly
Why were you asking about Checkout above? Is that for something different?
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.
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?
yes i proposed but was declined by the pm due to issue on user holding 40 $ for a service that cost 2.5$
Declined by the pm? What does that mean?
sorry, project manager
we had the hold method before but users were complaining about pre authorisation.
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.