I am trying to try see if I can use 2 different gateways on 2 different checkout pages in CT.

ie: on one checkout page I want to use Moneris for standard goods

but on another checkout page reserved for Subscriptions I want to only use Stripe

I was going to try and hardcode the gateways in each:

{exp:cartthrob:checkout_form return="subscription-checkout/order_info" secure_action="yes" gateway="stripe"}


{exp:cartthrob:checkout_form return="checkout/order_info" secure_action="yes" gateway="moneris_direct"}

But it seems there is no way to actually know if it is actually working. HOw do I know if the correct gateway is being used?


That's the correct way to specify a gateway for the transaction as long as they are not nested (which wouldn't work anyway). You can also pass the gateway short name via POST with a hidden input like this:

<input type="hidden" name="gateway" value="stripe">

Does your product/subscription order list the gateway that was used if you look at the order reports in the CP?

  • that report idea is a good one. I will have to check. – Peter Eastwood Oct 8 '13 at 11:58

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.