Skip to content

Payment Option 'Invoice' alongside Stripe #88

Answered by AaronSadlerUK
edgarJakob asked this question in Q&A
Discussion options

You must be logged in to vote

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…

Replies: 4 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@AaronSadlerUK
Comment options

Comment options

You must be logged in to vote
1 reply
@AaronSadlerUK
Comment options

Answer selected by edgarJakob
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants