Payment Option 'Invoice' alongside Stripe #88
-
Hello, In addition to the option to pay with Stripe, I need the payment option "Invoice" so that the customer can place an order without being redirected to Stripe. Is this planned, or what would be the best approach to get started? Thank you! |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 2 replies
-
Hi Edgar, You can find the roadmap here: Currently the ability to pay by invoice is not on the roadmap, the main reason being that this would be a unique piece of work which would be different for each site. If you are able to outline how to see this working in a generic reusable way then I will consider adding it to the roadmap, otherwise you can create a Controller which uses the checkout services to process the checkout. |
Beta Was this translation helpful? Give feedback.
-
Hi Aaron, wow that was quick :) thanks for your answer. I have implemented a couple of shops using Vendr. In Vendr, the default payment method includes "Invoicing." The customer is redirected directly to the success page, ideally receives an email, and the order should be stored in the database. Would something like this be feasible? Best regards! |
Beta Was this translation helpful? Give feedback.
-
For my purposes, it would be sufficient if, when selecting 'Invoice,' the information that would otherwise be sent to Stripe could be given to another service. To make that happen, it would be necessary to have both options available at checkout: Invoice and Stripe. |
Beta Was this translation helpful? Give feedback.
-
Thank you very much. I will check it out. And thank you for all your effort providing this great package! |
Beta Was this translation helpful? Give feedback.
Hi @edgarJakob,
You can currently do this, you need to replace the inbuilt checkout view component with your basket which implements both invoice and Stripe, the links below will show you the code you will need to replace / extend to work with your invoice requirement.
https://github.com/UmbHost/UmbCheckout.Stripe/blob/52b6896a44ab1c9733a0cbf3729ca75c4896c69c/ViewComponents/StripeBasketViewComponent.cs
https://github.com/UmbHost/UmbCheckout.Stripe/blob/52b6896a44ab1c9733a0cbf3729ca75c4896c69c/Views/Partials/UmbCheckout/_StripeBasket.cshtml
And your own controller which implents the invoice functionality as well as Stripe:
https://github.com/UmbHost/UmbCheckout.Stripe/blob/52b6896a44ab1c97…