Jump to content

disable some payment gateway on amount threshold


Recommended Posts



I have some problem when using PayPal. As my customer already have a credit balance on their account and they've ordered a new one.

The credit then partial applied to the invoice that leads to have around 40 THB (about 1.2 USD) left to pay.

The customer then use PayPal to pay for the invoice. So the fee for payment gateway is 12.56 THB (11 THB + 4%). This translated back to more than 30% payment gateway fee for the transaction.


Is there any way to disable some payment gateway when the invoice amount is less than x or not?



Link to comment
Share on other sites

it's going to be a variation on the code that I wrote in the thread below...




in that case, the OP had two different paypal accounts and wanted to specify which to use based on the invoice total - exactly how you do it might depend on your order form template...


but I suspect your code would be along the lines....


{if ($gateway.name eq "PayPal" and $rawtotal lte 10)}{else}

so if invoice is less or equal to 10, Paypal won't be an option...


remember to add a closing {/if} at the end of the block too.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated