Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Peder Schjødt-Pedersen 1 post 21 karma points
    Aug 19, 2020 @ 08:46
    Peder Schjødt-Pedersen
    0

    Bypassing payment in TeaCommerce 3.0.7

    Is it possible to bypass payment and just complete the order without entering credit card details if order total is zero?

  • Matt Brailsford 4125 posts 22223 karma points MVP 9x c-trib
    Aug 19, 2020 @ 09:20
    Matt Brailsford
    0

    Hi Peder,

    The simplest way to do this is to use the Invoice payment provider. This provider just passes you through to the confirmation page without taking payment and assumes you will handle sending an invoice to capture the payment (which you obviously don't have to do).

    If you'd like to make it clearer in the back office, you could create your own payment provider with a better name but that essentially does exactly the same as the invoice payment provider, passing the order straight through. You can see the source code of the invoice payment provider here https://github.com/TeaCommerce/Tea-Commerce-Payment-Providers/blob/master/Source/TeaCommerce.PaymentProviders.Invoicing/Invoicing.cs

    Hope this helps

    Matt

Please Sign in or register to post replies

Write your reply to:

Draft