Setup Ucommerce to Include MultiSafepay as a Payment Method
Ucommerce comes with build-in support for MultiSafepay. This guide will walk you through getting Ucommerce working with MultiSafepay for payment processing.
Capabilities
MultiSafepay is one of the payment providers which support the Acquire functionality.
Settings in Ucommerce
If you haven't completed the steps from the General Setup of Payment Methods in Ucommerce document you need to do that before you move on.
When the payment method is created and saved as described in General Setup of Payment Methods in Ucommerce. The back-end displays the different settings you can set for MultiSafepay.
Settings in MultiSafepay back office.
Create a back office at MultiSafepay with the MultiSafepay Connect.
Create a new website under Settings -> Sites.
Category
Choose the category your site belongs to
Description
Can be anything, just a name you give your website.
Base URL
The URL for your website
Notification URL
MultiSafepay notifies Ucommerce about new payments and changes to existing payments using the notification URL. The URL you receive notifications from MultiSafepay will be in the format https://www.mystore.com/id of your payment method/PaymentProcessor.axd
To find the PaymentMethodId you need to search the database. If you used the name “MultiSafepay” for the payment method name, you can run this SQL query in the SQL Server Management Studio:
select PaymentMethodId from Ucommerce_PaymentMethod where Name='MultiSafepay'
A sample URL for a payment method with an ID of 10 would be https://www.mystore.com/10/PaymentProcessor.axd
PrivatePay
An option so MultiSafepay won’t give you information regarding the consumer. Name and address will be excluded.
SecondChance
Should the consumer cancel midway, they will receive an email giving them a second chance to complete the process.
Setting properties for the MultiSafepay
Under "the common tab" on your payment method, you'll find the different fields to configure the details related to the payment gateway.
Finding TestMode
If set to “True” the MultiSafepay test site will be used, not their live site. If not testing, this should be set to “False”.
Finding Account Id
Your account ID from the MultiSafepay back office. (See picture below)
Finding SiteId
The ID provided by MultiSafepay when creating a new site. (See picture below)
Finding SiteSecurityCode
The SiteSecureCode provided by MultiSafepay when creating a new site. (See picture below)
Finding CallbackUrl
Leave setting at (auto) unless you want to handle callbacks yourself.
Finding AcceptUrl
The URL you return to when completing a payment.
Finding CancelUrl
The URL you return to when cancelling a payment.
Click Settings è Websites to find the screen below.
MultiSafepay back office
In the MultiSafepay back office you have options to refund and cancel, this cannot be done without using the MultiSafepay back office.
Use the green refund button to start a refund or the red cross to cancel a pending payment.
Please note that any changes to a payment in the back office will cause a notification to be sent to Ucommerce. The notification will cause Ucommerce to update the status of the order the payment belongs to to “Requires Attention”.