# Custom gateway - wipaycaribbean.com

**URL:** <https://forum.modmore.com/t/custom-gateway-wipaycaribbean-com/1890>\
**Category:** SimpleCart\
**Created:** [August 11, 2019, 3:12pm UTC](https://forum.modmore.com/t/custom-gateway-wipaycaribbean-com/1890 "2019-08-11T15:12:12Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![jcamachott](https://forum.modmore.com/user_avatar/forum.modmore.com/jcamachott/32/354_2.png) [@jcamachott](https://forum.modmore.com/u/jcamachott)\
**Post date:** [August 11, 2019, 3:12pm UTC](https://forum.modmore.com/t/custom-gateway-wipaycaribbean-com/1890/1 "2019-08-11T15:12:12Z")

</div>

Hi folks, I need to connect to a local merchant account. The cart total needs to culminate into a form like this -

 ![image](https://forum.modmore.com/uploads/default/original/1X/3f43c6aec24add15c592b0ba50af686a60604d99.png)

Is it possible to set this up in SimpleCart? Or will I need its bigger brother Commerce to do that?

---

<div class="post-metadata">

**Author:** ![mhamstra](https://forum.modmore.com/user_avatar/forum.modmore.com/mhamstra/32/459_2.png) [@mhamstra](https://forum.modmore.com/u/mhamstra)\
**Post date:** [August 11, 2019, 3:50pm UTC](https://forum.modmore.com/t/custom-gateway-wipaycaribbean-com/1890/2 "2019-08-11T15:50:32Z")

</div>

Custom gateways are possible in SimpleCart, and what you posted seems simple enough (although I do wonder if wipay offers more advanced integrations with anti tampering protection).

Biggest challenge is that I don’t have any documentation for how to that.

I do have documentation on doing it for commerce: [https://docs.modmore.com/en/Commerce/v1/Developer/Payment\_Gateways/index.html](https://docs.modmore.com/en/Commerce/v1/Developer/Payment_Gateways/index.html)

---

<div class="post-metadata">

**Author:** ![jcamachott](https://forum.modmore.com/user_avatar/forum.modmore.com/jcamachott/32/354_2.png) [@jcamachott](https://forum.modmore.com/u/jcamachott)\
**Post date:** [August 11, 2019, 4:00pm UTC](https://forum.modmore.com/t/custom-gateway-wipaycaribbean-com/1890/3 "2019-08-11T16:00:54Z")

</div>

Thanks for answering. Yeah I was trying to avoid having to pay $300 for Commerce when we’ve already set up products inside SimpleCart.

There is an antitampering measure in place and it involves hashing some variables together. Those same variables are hashed on wipay and sent back and the comparison is done locally.

It might just be easier for me to redirect users who want to pay via wipay to a page with those fields setup and process the order manually if a success status is returned from wipay.

---

<div class="post-metadata">

**Author:** ![mhamstra](https://forum.modmore.com/user_avatar/forum.modmore.com/mhamstra/32/459_2.png) [@mhamstra](https://forum.modmore.com/u/mhamstra)\
**Post date:** [August 19, 2019, 8:39am UTC](https://forum.modmore.com/t/custom-gateway-wipaycaribbean-com/1890/4 "2019-08-19T08:39:34Z")

</div>

That’s not far off from how a properly integrated gateway works 😉

The [Auth.net](http://Auth.net) integration can serve as an example: [https://github.com/modmore/SimpleCart\_Authorize.Net/blob/master/core/components/simplecart\_authorizenet/authorizenet.class.php](https://github.com/modmore/SimpleCart_Authorize.Net/blob/master/core/components/simplecart_authorizenet/authorizenet.class.php)

The other official integrations are also available on GitHub for inspiration.
