Not with the out of the box provider no. The OOTB providers are really there to suite most customers who just need to take a payment. More advanced solutions like storing payment details for later reuse fall outside of this basic use case and so for that type of thing you'd need to implement your own payment provider.
Thanks for the detailed info - I've managed to wrap it up by implementing a custom payment provider and using the vendor payment provider stripe as the starting point. :)
Vendr Stripe Payment Method - Skip Checkout
Is it possible to skip the checkout if there's a "paymentMethodId" supplied? I'm not sure if Vendr Stripe can cater this out of the box.
I saw that in the stripe's PaymentIntentCreateOptions class there's a "PaymentMethod" field.
Also I think there's also one field to cover, if there's also a scenario for passing the value for "SetupFutureUsage"
Hi Vlael,
Not with the out of the box provider no. The OOTB providers are really there to suite most customers who just need to take a payment. More advanced solutions like storing payment details for later reuse fall outside of this basic use case and so for that type of thing you'd need to implement your own payment provider.
Payment providers are totally pluggable though and you can write your own. There are some docs here to outline the pattern https://vendr.net/docs/core/2.1.0/umbraco-v9/key-concepts/payment-providers/ and the source code for the Stripe provider is available here https://github.com/vendrhub/vendr-payment-provider-stripe which might act as a good starting point for you.
Hope this helps
Matt
Hello Matt,
Thanks for the detailed info - I've managed to wrap it up by implementing a custom payment provider and using the vendor payment provider stripe as the starting point. :)
Fantastic. Glad you were able to get it all to work 👍
is working on a reply...