<p><a href="https://craftcommerce.com/changelog#build1328" rel="nofollow noreferrer">Craft Commerce 1.2.1238</a> added support for the REST based Multi-Safepay gateway. </p>

CC BY-SA 3.0
2016-12-02T17:57:41.967Z
2016-12-02T18:12:46.763Z
2016-12-02T18:12:46.763Z
Luke Holder
<p>So I made an account with MultiSafePay:</p>

<ol>
<li>Added my website where i need to get payments from.</li>
<li>Filled in the API key and Locale</li>
<li>Enabled it for customers (me)</li>
<li>Changed the Gateway of MultiSafepay from XmlGateway to RestGateway.
(Because XMLGateway is deprecated)</li>
</ol>

<p>How would I add it to the checkout process in Craft Commerce?</p>

<p>Now I only get to see the credit card fields if MultiSafePay is selected in the dropdown, but I enabled all the payment options at MultiSafePay.</p>

<p>Could somebody explain to me and others how to implement it correctly?</p>

CC BY-SA 3.0
2016-11-11T13:53:18.917Z
Can you explain what you mean by 'Changed the Gateway of MultiSafepay from XmlGateway to RestGateway. (Because XMLGateway is depricated)'?
Clive Portman
CC BY-SA 3.0
2016-11-11T14:02:00.223Z
I already have set the XMLGateway to RESTGateway, now it is properly used. But in the checkout i still get creditcard fields instead of a redirect for the payment.

How would i implement such a thing in Craft Commerce?
Bram B
CC BY-SA 3.0
2016-11-11T15:35:12.370Z
Sorry, where have you set that? I see no option within Craft's MultiSafepay gateway.
Clive Portman
CC BY-SA 3.0
2016-11-14T07:33:36.347Z
class Gateway extends XmlGateway renamed it to
class Gateway extends RestGateway. (because it exists for MultiSafePay)
Bram B
CC BY-SA 3.0
2016-11-14T09:54:01.487Z
Might be worth checking with Craft support that the RestGateway is working. I see what you see, the RestGateway is represented within the code, but it doesn't look finished in terms of integration with Craft Commerce. I'd expect there to be an option when selecting the payment gateway within the admin area if it were working already.
Clive Portman
CC BY-SA 3.0
2016-11-21T09:38:57.140Z
@ClivePortman yes indeed, i would recommend not to show it at all if it's not implemented. Now it would be selectable, but you still need to type your own plugin to make it work. So it's not an out-of-the-box solution.
Bram B
<plugin-craftcommerce><payment-methods><omnipay>
Commerce PaymentGateway configuration
# Commerce PaymentGateway configuration

(Asked by: username_0 on 2016-11-11)

So I made an account with MultiSafePay:

1. Added my website where i need to get payments from.
2. Filled in the API key and Locale
3. Enabled it for customers (me)
4. Changed the Gateway of MultiSafepay from XmlGateway to RestGateway.
   (Because XMLGateway is deprecated)

How would I add it to the checkout process in Craft Commerce?

Now I only get to see the credit card fields if MultiSafePay is selected in the dropdown, but I enabled all the payment options at MultiSafePay.

Could somebody explain to me and others how to implement it correctly?

**Tags:** plugin-craftcommerce, payment-methods, omnipay

> **Comments:**
> **username_1**: Can you explain what you mean by 'Changed the Gateway of MultiSafepay from XmlGateway to RestGateway. (Because XMLGateway is depricated)'?  
> **username_0**: I already have set the XMLGateway to RESTGateway, now it is properly used. But in the checkout i still get creditcard fields instead of a redirect for the payment.  How would i implement such a thing in Craft Commerce?  
> **username_1**: Sorry, where have you set that? I see no option within Craft's MultiSafepay gateway.  
> **username_0**: class Gateway extends XmlGateway renamed it to class Gateway extends RestGateway. (because it exists for MultiSafePay)  
> **username_1**: Might be worth checking with Craft support that the RestGateway is working. I see what you see, the RestGateway is represented within the code, but it doesn't look finished in terms of integration with Craft Commerce. I'd expect there to be an option when selecting the payment gateway within the admin area if it were working already.  
> **username_0**: @ClivePortman yes indeed, i would recommend not to show it at all if it's not implemented. Now it would be selectable, but you still need to type your own plugin to make it work. So it's not an out-of-the-box solution.  

---

## 1 answers

### Answer by username_2 on 2016-12-02. Score: 1 | Accepted answer

[Craft Commerce 1.2.1238](https://craftcommerce.com/changelog#build1328) added support for the REST based Multi-Safepay gateway.


---

