• No results found

Smart2Pay Magento Plugin Merchant Integration Guide

N/A
N/A
Protected

Academic year: 2021

Share "Smart2Pay Magento Plugin Merchant Integration Guide"

Copied!
16
0
0

Loading.... (view fulltext now)

Full text

(1)

Smart2Pay Magento Plugin

Merchant Integration Guide

(2)

COPYRIGHT

The information contained in this Merchant Integration Guide is confidential and/or privileged material and is intended only for the persons or the legal entities to which it is addressed. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you received this Merchant Integration Guide by error, please contact Smart2Pay and delete the material.

Copyright © 2015 Smart2Pay. All rights reserved. Version 5.2

Date: October 2015

TRADEMARKS

The Smart2Pay logo is a registered trademark of Smart2PayTM. Other trademarks and service marks in this document are the sole property of the Smart2PayTM.

CONTACT INFORMATION

(3)

1. Introduction

About Smart2Pay

Smart2PayTM is a Payment Service Provider specializing in Internet payments since 2002. Our head office is based in Amsterdam area (Holland); we have offices in United States, Spain, Austria, Brazil and Romania. We have partnered with many banks and financial institutions all over the world. We are a one-stop shop for leading Merchants selling goods or services over the Internet globally. If you need to increase your sales and collect funds from consumers globally, join us. We offer state of the art payment solutions for Internet merchants.

For more information on Smart2Pay Payment Service provider, please visit www.smart2pay.com.

About GlobalPay

The GlobalPay payment platform allows Merchants to collect funds from Customers locally in over 70 countries by signing one single contract through one technical interface.

Online merchants have access to many (alternative) payment options ranging from online bank transfer (real-time), local regular bank transfer (intraday reporting), ATM payments, Cash Payments, local E-wallet (real-time), Mobile payments (real-time) to Credit and Debit Card processing.

GlobalPay is a payment platform that covers the world for online Sellers. It covers all important payment options over the world in one go and is simple to integrate and maintain while providing maximum security and scalability.

For more details on GlobalPay payment platform, please request GlobalPay Merchant Integration Guide and GlobalPay Merchant Dashboard Guide from [email protected].

About Smart2Pay Magento Plugin

Smart2Pay Magento plugin connects your Magento store to GlobalPay, the latest payment platform of Smart2Pay.

About Merchant Integration Guide

(4)

2. Smart2Pay Magento Plugin installation

Plugin version and compatibility list

Current stable plugin version of Magento is 1.1.9c. Smart2Pay plugin is compatible with the following Magento versions: 1.5, 1.6, 1.6.1, 1.6.2.0, 1.7, 1.8, 1.8.1, 1.9, 1.9.1.0, 1.9.1.1. For newer versions of Magento, please contact [email protected].

Installation

1. Login to the administration area of Magento and then select System-> Magento

Connect->Magento Connect Manager.

Image 1 – Magento Connect Manager Menu

(5)
(6)

3. Smart2Pay Magento plugin configuration

Smart2Pay Environments

Smart2Pay offers 3 environments you can use to interact with our payment platform.

Demo - you should start in Demo environment where all the available payment methods are activated

by default and you can use to test our plugin right away. No activation is required. You can test various payment flows for more than 150 payment methods. The order status does not update in this environment, you need to use Test and Live environments for an end to end testing.

Test - Once you are familiar with payment flows you should register for a test account online at:

https://dashboardtest.smart2pay.com/Account/Register You will receive an e-mail from our merchant integration team with more details such as your test MID and instructions on how to generate the test signature and setup the notification URL where Magento will receive payment status change notifications so your orders are correctly updated once the payment flows are completed.

Live - After testing is completed you can request your production account at:

https://dashboard.smart2pay.com/Account/Register.

You can always contact our Merchant Integration Team to request additional information about our services at: [email protected].

Plugin configuration

The configurations for the Smart2Pay Magento plugin can be found in the administration area of Magento under: System->Configuration menu, section Sales->Payment Methods-> Smart2Pay Payment

Module.

(7)
(8)

The available options are described in the following table:

Field Description Type Sample

Enabled Defines whether the Smart2Pay payment module is active or not. If it is active it will appear in the payment method lists (see image no. 4)

Boolean Yes

Environment The environment to which the plugin points to. If Test is selected then the Post URL Test, Signature Test and MID Test will be used when making the payment. If Demo environment is selected, shop will create transactions on a predefined MID, SiteID and Signature combination, just so that you can see an end-to-end transaction flow. This will not require any registration on your behalf on our test or live platforms. However, keep in mind that your shop will not receive background notifications about order updates so not all details and functionality for an order will be available / visible.

[Test, Demo, Live]

Test

Post URL Live The URL of GlobalPay API live environment.

String https://api.smart2pay.com

Post URL Test The URL of GlobalPay API integration environment.

String https://apitest.smart2pay.c om

MID Live The Merchant ID for the live environment. Create an account from

https://dashboard.smart2pay.com The account will be activated by Smart2Pay Merchant Integration Team and you will receive an e-mail containing this MID.

Integer

MID Test The Merchant ID for the live environment. Create an account from

https://dashboardtest.smart2pay.co m. The account will be activated by Smart2Pay Merchant Integration Team and you will receive an e-mail containing this MID.

Integer 1045

(9)

Field Description Type Sample you can use a separate SiteID for

each website, with different Signature, ReturnURL and NotificationURL. Please contact [email protected] for more details on how to setup a multistore configuration.

Signature Live The signature that will be used to compute the hash for live environment. You can set up your signature for production

environment at:

https://dashboard.smart2pay.com, Configuration Tab->Signature.

String fb1159ed-3359

Signature Test The signature that will be used to compute the hash for test environment. You can set up your signature for test environment at: https://dashboard.smart2pay.com.

String fb1159ed-3359

Return URL An URL where the customer will be redirected after the payment process ends. It is advisable to include the path to the smart2pay/feedback action which displays a friendly message to the user depending on the redirection status of the transaction.

This field is filled automatically by plugin at install time. If however, this URL doesn't work for you, you can manually correct it in a similar way which is presented in Sample column

String http://www.merchant.com/ index.php/globalpay/index/i nfo/

Title This will be displayed to the customers in the checkout process when selecting from possible payment methods. See image 5.

String Alternative payment methods

Skin ID Specify the skin ID. The skins can be created in the Online Skin Editor available in the Merchant Dashboard or by uploading a CSS file.

Integer 6

[Debug form] For integration/debugging purposes only. If set to ‘Yes’, a form with the values sent in the initial POST to GlobalPay will be displayed prior to

(10)

Field Description Type Sample the actual POST.

Display surcharge fee to client

If set to yes, it shows the surcharge amount provided in shop’s default currency.

Yes

Methods display mode

By default, method icon images will be shown (Logo). You have the option to display the payment methods as text or as logo and text.

Boolean Logo

Show methods in grid

By default, methods will be displayed as a two columns table, having payment method's logo or name and description. When set to yes, description is omitted, and columns number can be specified bellow.

Boolean No

Grid column

number

The number of columns for the grid with logos. Has effect only if Show methods in grid is set to ‘Yes’

Integer 4

Send order number

as product

description

If set to ‘Yes’, the Magento order number will be sent as description. If ‘No’ is selected, the below custom description will be sent.

Boolean Yes

Custom product description

Specifies a global description that will be sent for all the transactions.

String Custom product description

Notify customer by email

If set to ‘Yes’, the system automatically sends a confirmation email to the customer on success payment notification.

Boolean Yes

Payment Confirmation Template

The template of the e-mail List GlobalPay Confirmation Template

Send payment instructions on order creation

For Bank Transfer and Multibanco SIBS, Magento can send a confirmation email to the customer on order creation with payment details. Boolean Yes Payment Instructions Template (for Multibanco SIBS)

The template of the e-mail containing payment instructions for Multibanco SIBS (PT) payment method.

List

Payment Instructions

Template (for Bank Transfer)

The template of the e-mail containing payment instructions for Bank Transfer payment method.

(11)

Field Description Type Sample Create invoice on

success

If set to ‘Yes’, the system automatically creates an invoice if payment is successfully completed. The invoice is automatically set to ‘paid’.

Boolean No

Automate shipping If set to ‘Yes’, the system automatically creates a shipping.

Boolean No

New Order status The status of the order after creation.

List On Hold

Order status on SUCCESS

You should only deliver the goods/services based on the Success notifications. The notifications are received at the notification URL which you set up in the GlobalPay merchant dashboard available at: https://dashboardtest.smart2pay.co m. The notification URL is in the form:

http://www.merchant.com/index.ph p/globalpay/index/handleResponse. Magento Smart2Pay_GlobalPay Plugin automatically updates the order status according to the received notifications.

This configuration defines the status of the order when the payment has been successfully completed and a ‘success’ notification is sent by GlobalPay system. You can release the goods/services in this case.

List Processing

Order status on CANCEL

The status of the order when a ‘canceled’ notification is sent by GlobalPay system

List Canceled

Order status on FAIL The status of the order when a ‘failed’ notification is sent by GlobalPay system

List Canceled

Order status on EXPIRED

The status of the order when an ‘expired’ notification is sent by GlobalPay system

List Canceled

Auto-select

GlobalPay payment methods

The alternatives payment methods are automatically selected

Boolean Yes

Skip payment page If set to ‘Yes’, if all the necessary parameters are sent in the initial

(12)

Field Description Type Sample POST for a specific payment method,

the GlobalPay payment page is skipped and the customer is redirected automatically to the payment method provider.

Redirect in IFrame If set to ‘Yes’, GlobalPay will try to keep the payment flow inside the IFrame. Only some payment methods providers support IFrames, for the others the customer will be redirected to the provider in the main window. See image 6.

Boolean Yes

Message Success The message that is displayed at the end of the payment flow when the redirection status is a success. You should only deliver the goods/services based on the success notification received at the notification URL which you set up in the GlobalPay merchant dashboard

available at:

https://dashboardtest.smart2pay.co m. The notification URL is in the form:

http://www.merchant.com/index.ph p/globalpay/index/handleResponse

String Thank you, the transaction was processed successfully. After we receive the final confirmation, we will release the goods.

Message Failed The message that is displayed at the end of the payment flow when the customer is redirected with a failed status.

String There was a problem processing your payment. Please try again.

Message Canceled The message that is displayed at the end of the payment flow when the customer has canceled the payment.

String You canceled the payment.

Message Pending The message that is displayed to the customer when the redirection status is unknown or the customer must take additional actions to complete the payment: e.g. go to the bank and make an offline bank transfer.

String Thank you, the transaction is pending. After we receive the final confirmation, we will release the goods.

(13)

After the main configuration of the Smart2Pay Payment Module, please activate the payment methods that you plan to use. You have the option to pass the payment method fee to the customer. The fixed amount and/or percentage of the fee can be set in Surcharge column.

(14)

4. Smart2Pay Magento payment flow

In the frontend, depending on the billing country of the customer, the activated methods are shown in the checkout process in the payment information step.

(15)

After order confirmation the customer is redirected to the chosen payment method provider where he finalizes the payment.

Image 6 – Smart2Pay payment page with Redirect in Iframe set to ‘Yes’ Upon completion of the payment flow, the customer is redirected back to your website.

(16)

5. Payment status notification

After receiving the final confirmation from the provider, our server notifies Magento about the status change. The plugin handles these notifications and updates the order accordingly. This can be checked in Magneto backend in the Orders area.

References

Related documents

Depending on the settings you enter in ecBuilder/eStore for your PSiGate merchant account profile, the orders you receive in Maximizer OrderDesk from your online catalog may

I authorize and direct CardConnect and American Express and American Express’s agents and Affiliates to inform me directly, or inform the entity above, about the contents of

13 astrExt2 Additional field provided to the Merchant for passing any specific data Data with maximum size of 50 characters N 14 astrExt3. Additional field provided to

Parameter Name Type Description Can be Null lang string Language for the

To check any possible status for a payment you can consult its payment details in the Merchant Interface (for details, refer to the Merchant Interface User Guide) or send

Before 3D Secure, PayPoint.net returned the result of the authorisation attempt from the merchant’s acquiring bank and the merchant displayed the result to the cardholder.

In general, after the enrolment request response is received and if the merchant receives one of the status codes as shown in figure 4.12, the liability shift offered by

Hoi: There is no difference in the perception of the effective employment of Marine Corps C2 systems between the Operating Forces and Headquarters, Marine