Getting Started

Welcome to Smart2Pay Online Documentation which will help you integrate GlobalPay, Smart2PayTM’s latest payment platform.

Once you are registered you will be able to configure your websites and operate the transactions at https://dashboardtest.smart2pay.com/.

You can start integration with GlobalPay payment platform using our REST API, Smart2Pay SDK-PHP, or one of our plugins for e-commerce web shops. For more details about Smart2Pay SDK-PHP and Smart2Pay Plugins click on the images below.

The GlobalPay REST API is based on a request/response mechanism that uses HTTP protocol. This means that the API is using different HTTP methods to perform different actions (such as: GET, POST, PUT, DELETE), resource-oriented URLs and HTTP response codes to indicate API errors. Also, authentication to the API occurs via HTTP Basic Auth (HTTP Basic access authentication).

To initiate a transaction, you need to create a payment object. The parameters of the payment need to be sent in the message body as a JSON object.

For all requests Basic Authentication is used with a secret API Key. Please make sure the API keys are kept secret and regenerate at once if security has been compromised! All requests must be initiated using HTTPS protocol!

We are working with two platforms Test and Live. The integration and testing phase will first be done on the test server. As soon as the development and testing phase are successfully completed you will need to follow the same steps for integration on the live platform. You will also have to whitelist GlobalPay’s IPs for Test and Live Environment. For more information please visit our section GlobalPay’s Environments and IPs.

GlobalPay REST API exposes the following resources: payments (one-off or recurring), refunds, refund types, preapprovals (used for recurring billing), payment methods, customers, billing addresses, shipping addresses. Here you will find how you can control each of these resources.

Playground transactions and test transactions do not involve real money. Their purpose is to get you accustomed on how to process live transactions.

Integration flavors

The GlobalPay REST API offers 3 integration flavors allowing you to choose, depending on your business case, the payment flow that works better for you and your customers. See below the flow of each flavor!

Compare Integration Flavors
Features Minimal Configuration Controlling the payment method Frictionless Flow
Control the payment method on your checkout page No Yes Yes
Full control of the payment flow No Yes Yes
Frictionless integration No No Yes
Least amount of customer information on your checkout page Yes No No
Accept refunds Yes Yes Yes
Accept recurring payments Yes Yes Yes
Development effort Low Medium High
Payment page customization Yes Yes No
IP detection fallback Yes Yes Yes
Mobile friendly responsive UI Yes Yes Depends

integration_flavours_v001

integration flavours Sun Mercury Venus

Playground

Try our playground below to see how our API works and, based on your business requirements or your personal preference, choose the payment flow that provides the best experience for your site and your customers!

Minimal configuration


In centimes (eg. 1000 = 10.00)

 

Controlling the payment method


In centimes (eg. 1000 = 10.00)

 

Frictionless flow


In centimes (eg. 1000 = 10.00)

Credit Card Processing

Accepting all major credit cards for your business is essential in today’s economic environment and we have made it easier for you now than ever.

With our reliable and easy to integrate platform – GlobalPay REST API, we offer our clients two ways to accept credit card payments: Redirect Card Processing and Direct Card Processing.

Compare credit card payment solutions
Features Redirect Card Processing Direct Card Processing
PCI compliance required No Yes
Credit card tokenization Yes Yes
Card details collected by merchant No Yes
One click payment Yes Yes
Payment page skinning and branding allowed Yes Yes
Customers pay never leaving your website No Yes
Instant payment status notification Yes Yes
Retry logic Yes Yes
Processing transactions in local currencies Yes Yes
Advanced payment security solutions Yes Yes

Redirect Card Processing

Benefits:

  • Even though you are not PCI compliant, you can still process credit cards. Redirect Card Processing comes to your aid and takes care of PCI compliance for you.
  • Not having to worry about being PCI compliant, gives you time to focus on the other aspects of your business.
  • By integrating Redirect Card Processing you have access to many alternative payment options including Credit Card processing.
  • Customer satisfaction is higher because customers expect to be able to pay with their preferred method of payment. Providing various payment options is essential and an invaluable tool for ensuring customer service. For a complete list of our payment methods available, please go to Payment Methods API section.

Direct Card Processing

Benefits:

  • If you are only interested in processing credit cards and you are PCI compliant, this is the best solution for you.
  • With a singular reliable payment option: Direct Card Processing, you can run your business 24/7, focusing on a single payment method.
  • By integrating Direct Card Processing you have access to credit card payment method with a frictionless payment flow.
  • With Direct Card processing, the payment process is more efficient and less time consuming. You will complete transactions more quickly and easily, without any intermediary page.

In order for you to accept credit card payments and handling card data directly, no matter the size or number of transactions, you must comply with the PCI DSS (Payment Card Industry Data Security Standards).

Take into consideration when choosing the card processing solution that you should be PCI compliant if you wish to accept Direct Card Processing. If you are not fully PCI compliant, you need to use Redirect Card Processing.