Hosted Payment Page

Hosted Payment Page

Introduction

This page aims to train future users of the secure redirection of the PayFacto payment solution.

You will find in this page a description of the secure redirection service, the operation, the various call and return parameters, the advantages related to the use of this solution and the information that the merchant must provide to PayFacto. 

Edit

The secure redirect service is an exemplary, efficient and secure way for merchants with an e-commerce site to make a payment by Internet.

The secure redirection service is very easy to use. This requires the merchant to take the order from a customer and call a webpage hosted on the PayFacto servers via the PayFacto web services. This page will show the transaction amount and ask the customer to enter their credit card information. Once this is done, a purchase transaction approval request will be sent by a PayFacto Payment Solution to the Acquirer. Thereafter, the PayFacto payment solution redirects the user to a success or failure page specified by the merchant. From this page, a web services call will need to be made in order to contact PayFacto to retrieve transaction return parameters. It should be noted that it is only possible to make purchases and pre-authorizations with this service. If your needs are different, contact the PayFacto Payment Solution Customer Service and another solution will be offered.

The PayFacto entry page contains links to information pages hosted on PayFacto payment servers. These pages are displayed in the PayFacto Customer Payment Service and provide a description of the security solution.

All communications between the merchant application and PayFacto application are done securely with the http protocol, but using the encryption approved worldwide. Internet clients must have a 128 bits browser, in order to use the PayFacto payment solution redirection service.

Please note that this functionality is considered Legacy and should not be integrated unless confirmed by members of PayFacto's integration team. Please refer to our Secure Fields API documentation.
Edit

1. The customer finishes filling his shopping cart on the merchant site. It triggers a process that will ensure that the merchant's e-commerce application will call the PayFacto web services, including the call input parameters. “Redirect - Create Purchase Session” (Endpoint : https://test.api.payfacto.cloud/v1/redirect/CreatePurchaseSession). This call to the payment API will communicate and transfer the data to PayFacto payment solution servers.

2. The PayFacto server keeps the received parameters and returns a session number in the “transactionOutput” of the call “Redirect - Create Purchase Session” to the merchant e-commerce application.

3. At this time, the e-commerce application redirects the client's Internet browser to the PayFacto redirection page, including the session number, so that the PayFacto payment server can retrieve the transaction data.

The format of the redirect URL is as follows :

https://test.form.payfacto.cloud/redirect/Redirect?SecureID=%SecureID%&SecureTYPE=GET

When this is done, PayFacto displays the customer credit card information entry page (see image 1).

The customer must then enter his credit card number, the expiry date and, possibly, his e-mail address. If it is registered, the e-mail address will be used to send the transaction receipt to the customer. When the customer has entered his information, he must press the “Pay” button. The customer has a time limit to enter this information. If the customer makes a mistake in entering their credit card information, an error page will appear and the customer will have the option to cancel or restart their transaction (see image 2). The customer has a maximum of three attempts to complete the transaction correctly.

Edit

Image 1: Customer information entry page

* The options displayed on the redirect page are defined according to the agreement of the merchant.


Edit

Image 2: Error page regarding the entry of customer credit information.



4. When the customer presses “Pay”, the PayFacto server creates a purchase request and sends it to the acquirer, in order to receive the authorization of the transaction.

5. Upon receipt of the acquirer's response, server updates return information and redirect the customer to the merchant. It will be redirected to a success page, if the transaction is approved or to a failure page in case of refusal, as a parameter, the session number of the transaction. The merchant's success or failure page must use the session number received by the PayFacto redirection application to make a new call “Redirect - Get Response” (endpoint : https://test.api.payfacto.cloud/v1/redirect/GetResponse) to payment API and return the transaction status with the transaction return parameters.

6. Finally, the e-commerce application must send the acknowledgment of receipt “Ack” (endpoint : https://test.api.payfacto.cloud/v1/ack) to PayFacto server to complete the transaction. The merchant has 3 minutes to send the acknowledgment to PayFacto.

IMPORTANT : If the result of this acknowledgment is not received or returns a negative answer “FALSE”, the transaction will be automatically reversed. The merchant must wait for the result of the acknowledgment (which must return “TRUE”) before confirming the success of the transaction for the client.

Edit

Image 4: Information page - Security



Edit

It is advantageous for a merchant to use this service for many reasons. First of all, although the development is a little longer, because the merchant must integrate web services, the secure redirection application is much safer than sending parameters directly to the payment solution on the PayFacto servers. Secondly, the merchant does not care about securing their database for the customer's credit card data, as this data is not transferred to the merchant. PayFacto takes care of receiving, securing and keeping confidential this information. Finally, the merchant does not need to develop a customer credit information entry page, since PayFacto provides it.

    • Related Articles

    • SHP - Secure Hosted Pages

      Secure Hosted Pages Migrating from Legacy Hosted Pages In an effort to simplify redirect, The new Secure Hosted Pages (SHP) is very different from the old version. The new SHP mirrors Secure Hosted Checkout (SHC) fairly closely, making it easier to ...
    • SHC - Secure Hosted Checkout

      Secure Hosted Checkout What is Secure Hosted Checkout? Secure Hosted Checkout (SHC) is a JavaScript library that allows merchants to collect and send cardholder information to PayFacto for authorization (pre-authorization), purchase, or verification ...
    • API v1.0 - SHC - Secure Hosted Checkout

      About SHC What is Secure Hosted Checkout? Secure Hosted Checkout (SHC) is a JavaScript library that allows merchants to collect and send cardholder information to PayFacto for verification without needing to access that information directly. When ...
    • Construct a Secure Hosted Checkout (Legacy) Log

      This article explains how to construct and put together all the sequential activities related to a Secure Hosted Checkout transaction for debugging purposes. 1. View log You can use this view log to help locating all these info easily and by ...
    • Payment Manager User Guide

      INTRODUCTION Foreword Due to the administrative interface, the client can control all transactions that are transmitted by its representatives or clients to the PayFacto server. With this tool the client can assigns users, who may then generate ...