#FastBojesen-integration

1 messages · Page 1 of 1 (latest)

sullen lodge
#

@blissful cape hmm, can you just ask the specific questions you have? Looking at a PDF is a bit beyond the scope of how we help on this channel.

blissful cape
#

Okay.
Is this the correct way to make a payment intent?

Create payment intent
Create payment intent when booking request is mode by user
We are using stripe nuget package for .net. (https://www.nuget.org/packages/Stripe.net/) Calling CreateAsync method of stripe payment intent service with following options-
• Amount- total balance
• Currency-boat currency
• Customer-customer id
• CaptureMethod-manual
• SetupFutureUsage- off session
• TransferData {Amount-owner amount, Destination-owner stripe account id}

#

And would this be the correct follow up with
"Confirm payment intent"

**Intent id will be sent to the app and stripe powered credit card screen will be shown to enter credit card details.
**
If card validation success then credit card secret token will be sent to the app.
Confirm payment intent
After validating credit card details we will confirm payment intent by calling ConfirmAsync method of stripe payment intent service with following options-
• PaymentIntentId – intent id
• RequestOptions{StripeAccount – owner stripe account id}
• PaymentIntentConfirmOptions {PaymentMethod- payment method token}

#

And is this the correct way for the capture payment intent:

Capture payment intent
Send capture request to stripe by calling CaptureAsync method of payment intent service with following options-
• StripeChargeId – payment charge id
• AmountToCharge – Total amount to be charged.

turbid relic
#

What you've described sounds correct but I'd recommend trying it all in test mode and verifying you're not missing anything.

sullen lodge
#

Intent id will be sent to the app and stripe powered credit card screen will be shown to enter credit card details.
If card validation success then credit card secret token will be sent to the app.
that's not how it works by the way, the frontend shows a credit card form and it also confirms the PaymentIntent and charges the customer/completes the authorisation of the payment; you don't send a token back to your server and confirm the PaymentIntent there, it's all handled on the frontend.