Introduction
Worldline Sips is a secure, multichannel e-commerce payment solution that complies with the PCI DSS standard. It allows you to accept and manage payment transactions by taking into account business rules related to your activity (payment upon shipping, deferred payment, recurring payment, payment in instalments, etc.).
The purpose of this document is to explain the implementation of the subscription-based payment solution up to the start of production.
Who does this document target
This document is intended to help you implement the recurring payments for the services they provide to their customers (hereinafter referred to as subscribers).
The purpose is to present the features of subscription payments and explain how to implement them with the Worldline Sips solution.
To get an overview of the Worldline Sips solution, we advise you to consult the following documents:
- Functional presentation
- Functionality set-up guide
Prerequisites
Subscription payments require your subscribers' payment details to be stored by Worldline Sips to ensure that you can make payments.
Therefore, here are some points to address before you can get started:
- To comply with the GDPR, you must complete your internal personal data processing register, specifying that the card details are stored in Worldline Sips platform. For more information on the GDPR, please refer to our Sips information systems security.
- Inform your customers that their recurring payment details and methods will be stored (duration, amount, frequency etc.).
- Check with your acquirer that your contract supports recurring payments.
Subscription Service Overview
Subscription payment has several parts:
- subscriber enrolment and authentication (CIT);
- debits for the occurrences of the subscription (MIT) by duplicating the CIT ;
- managing the subscriber's means of payment expiry
The means of payment for recurring payments are :
- CB, Visa, Mastercard, Amex, Bancontact (WIP option required)
- SEPA Direct Debit (SDD) Mandate
Data to retain
When enrolling the subscriber (CIT), please keep the following information:
- the CIT reference to allow duplication of the CIT to create the
MIT(field
transactionReference
ors10TransactionId
/s10TransactionDate
) - the expiry date of the card to know when you have to call your
subscriber back to enrol their new card (field
cardExpiryDate
)
You can then debit your subscriber on a recurring basis, by file transfer or online.
Choosing the Worldline Sips connectors for subscription
Because Worldline Sips offers several interfaces to deal with subscription taking out and with recurring payments, you have to analyse your business need so as to choose the connectors best suited to your situation.
The table below helps you make your choice.
Use case | Sips Paypage | Sips Office | Sips Office CSE | Sips In-App | Sips Office Batch | Sips Office Extranet Back Office | Choice of connector |
---|---|---|---|---|---|---|---|
Subscription taking out | |||||||
You want to get free from PCI requirements. | V | X | V | V | X | X | If you use Sips Paypage to process your payments, you can capitalise on this existing integration to handle the subscription taking out. For m-commerce, we recommend the use of Sips In-App. |
You display and secure the pages for entering payment details | X | V | V | V | X | X | Sips Office meets your need for e-commerce. For m-commerce, we recommend the use of Sips In-App. |
Recurring payments | |||||||
You debit or credit your subscribers at due dates (in the case of packages or services billed after consumption). | X | V | X | X | V | V | Sips Office Batch file mode is the connector suitable for the massive recurring payment processing, but you can also use Sips Office. |
You debit or credit your subscribers at different due dates (in the case of prepaid services where the subscriber has to charge his account before consuming). | X | V | X | X | X | V | The transactional mode is Sips Office the connector that is suitable for debiting or crediting your subscribers with varying due dates. |
Means of payment expiry | |||||||
Renew the subscriber's means of payment. | Renewal is treated as subscription taking out. | Reuse the same connector used for subscription taking out. | |||||
Initialising the subscriber base | |||||||
You are migrating an existing subscriber base. | X | X | X | X | V | X | Sips Office Batch allows you to initialise the subscriber base from an existing database. |
Implementation
Enrolling the subscriber (CIT)
Enrolling the subscriber with Sips Paypage
The collection of payment details is done on Sips Paypage.
If the subscriber's means of payment is a card:
- The subscriber must necessarily authenticate himself with the 3-D Secure system.
- You can use the field
authenticationData.authentAmount
to authenticate an amount different from the amount to be paid on the first due date. - You must keep the transaction reference in your information system, in order to debit your subscriber for future due dates.
Description
- During the subscription taking out phase, you redirect the new subscriber to Sips Paypage by including the transaction data in the request (amount of the first due date, currency, etc.).
- Worldline Sips displays the payment page, the subscriber provides their payment details and then validates.
- Worldline Sips performs the 3-D Secure checking.
- Worldline Sips performs anti-fraud checks.
- Worldline Sips sends an authorisation request to the acquirer.
- Worldline Sips saves the transaction in the back office.
- Worldline Sips returns you the manual and automatic responses containing the transaction details. You store your transaction reference and the card expiry date.
- Worldline Sips sends or does not send the transaction based on the terms you set in the payment request.
Setting up the request
This consists in a classic Sips Paypage request, please refer to one of the Sips Paypage guides to learn how to populate the request based on your business needs.
However, the following fields have a particular behaviour and should be valued like this:
Field | Value |
---|---|
paymentPattern |
RECURRING_1 |
challengeMode3DS |
CHALLENGE_MANDATE |
captureDay |
0 to 6 |
captureMode |
AUTHOR_CAPTURE or VALIDATION |
amount |
amount of the first due date (can be valued at 0 if the first due date is free or if the first payment takes place later) |
authentAmount |
to be valued if the amount field = 0 with the average
amount of a payment occurrence of the subscription. If the field is not filled in, the authentication amount will be the same as the one indicated in the amount field. |
Analysing the response
Worldline Sips returns a classic manual and automatic Sips Paypage response.
The fields pertaining to subscription taking out are as follows:
Status | Response fields | Actions to perform |
---|---|---|
Transaction accepted (subscription taken out successfully) | ResponseCode = 00AcquirerResponseCode =
00 |
Store the transaction reference in your customer base:
You can submit recurring payments. |
Transaction declined (subscription taking out declined) | ResponseCode = XX (not
00) |
Read the Sips Paypage connector guide to analyse the response from Worldline Sips. |
Enrolling the subcriber with Sips Office
Collecting payment details is done on your e-commerce site.
You then use two methods:
- cardCheckEnrollment: checks the 3-D Secure enrollment of the card (see the JSON or SOAP Worldline Sips documentation to find out the full parameters of the request).
- cardValidateAuthenticationAndOrder: cardholder authentication and authorisation request (see the JSON or SOAP Worldline Sips documentation to find out the full parameters of the request).
For the cardCheckEnrollment method, these fields have a particular behaviour and should be valued as follows:
Field | Value |
---|---|
paymentPattern |
RECURRING_1 |
challengeMode3DS |
CHALLENGE_MANDATE |
authenticationData.authentAmount |
amount of the first due date of the subscription (may be valued at 0 if the first due date is free of charge, for example, or if the first payment is not made until later) |
authentAmount |
to be valued if the amount field = 0 with the average
amount of a payment occurrence of the subscription. If the field is not filled in, the authentication amount will be the same as the one indicated in the amount field. |
captureDay |
0 to 6 |
captureMode |
AUTHOR_CAPTURE or VALIDATION |
Charging the subscriber (MIT)
Recurring payments with Sips Office Batch
Once the subscription taking out is accepted, you can debit subscriber batches using file transfer with Sips Office Batch, thanks to transaction duplication. Transactions are automatically chained by Worldline Sips.
Description
You format a Sips Office Batch file consisting of duplicate
requests.
Each duplicate
record
includes:
- The transaction reference of the subscription taking out (
FromTransactionReference
field or thes10FromTransactionReference.s10FromTransactionId
/s10FromTransactionReference.s10FromTransactionIdDate
pair). - The amount of the due date.
The chain of steps is as follows:
- You send the file to Worldline Sips via FTPS or SFTP.
- Worldline Sips retrieves the subscriber’s payment details.
- Worldline Sips runs fraud checks you set up on your shop.
- Worldline Sips sends the authorisation requests to acquirers.
- Worldline Sips stores the transaction in the back office.
- Worldline Sips formats the response file and returns it to you.
- In the evening, Worldline Sips sends the remittances for accepted transactions.
Please read the Sips Office Batch XML or Sips Office Batch CSV guides for details on the implementation (file structure, records description, file transfer, error handling, etc.).
Setting up the request
To generate a recurring payment using the duplicate
method, you need to populate the
following fields:
Field | Value | Comment |
---|---|---|
FromTransactionReference or
fromS10TransactionReference.fromS10TransactionId
/ fromS10TransactionReference.fromS10TransactionIdDate
pair |
The reference of the transaction made when taking out the
subscription or The reference of the transaction
made on the last modification of the means of
payment |
|
amount |
The amount of the due date |
Please refer to the Sips Office Batch XML or Sips Office Batch CSV guides to find out how to populate the other fields in the request depending on your business need.
Analysing the response
Status | Response fields | Actions to perform |
---|---|---|
Transaction accepted | ResponseCode = 00 |
The next day, check in the Transactions report that the
sending for remittance has been completed (TransactionStatus =
CAPTURED). |
Transaction refused | ResponseCode = XX |
Please refer to the Sips Office Batch connectors guides to analyse the response from Worldline Sips. |
Recurring payments with Sips Office
The Sips Office JSON/SOAP connector also provides the
duplicate
method in message mode
with the same rules as Sips Office Batch for request formatting and
response analysis.
Please refer to one of the Sips Office guides for implementation details.
Means of payment expiry
Since you have stored the means of payment expiry date when taking out a subscription, you can alert your subscriber long enough before the expiry date, so as to ask them to return to your e-commerce site and renew their means of payment.
The renewal of the means of payment must be handled in the same way as when taking out a subscription. Once the new means of payment has been entered and validated, store the new means of payment expiry date and the new transaction reference for use at future recurring debits.
Summary
Subscription with 1st payment within 6 days
Here is an example of a subscription payment with a first due date within 6 days:
Connectors :
CIT | MIT | |
---|---|---|
Connector |
|
|
Parameters of the request :
champ | CIT | MIT |
---|---|---|
paymentPattern |
RECURRING_1 | X |
ChallengeMode3DS |
CHALLENGE_MANDATE | X |
captureDay |
[ 0 , 6 ] | [ 0 , 99 ] |
captureMode |
|
|
amount |
Amount of the fisrt due date | amount of nth due date |
authentAmount |
Average amount of due dates | X |
Subscription with 1st payment in more than 6 days
Here is an example of a subscription payment with a first due date of more than 6 days:
Connecteurs :
CIT | MIT | |
---|---|---|
Connecteur |
|
|
Paramètres de la requête :
champ | CIT | MIT |
---|---|---|
paymentPattern |
RECURRING_1 | X |
ChallengeMode3DS |
CHALLENGE_MANDATE | X |
captureDay |
0 | [ 0 , 99 ] |
captureMode |
X |
|
amount |
0 | amount of nth due date |
authentAmount |
Average amount of due dates | X |
Starting subscription in 4 steps
Step 1 - implement the service
When you have chosen the Worldline Sips interfaces that meet your needs (see the 'Choosing the Worldline Sips connectors for subscription' section), will you need to integrate the connectors to connect your site to Worldline Sips and to follow the instructions in the 'Implementation' section.
Step 2 - Test the service on the test environment
Once you have implemented the Worldline Sips connectors, you can do some tests to validate your integration.
test data | |
---|---|
merchantId | 201000076690001 |
secret key | p64ifeYBVIaRcjaWoahCiw9L8wokNLqG2_YOj_POD4g |
secret key version | 1 |
test cards | Cf. the "Test cards" page |
Server | Test URL |
---|---|
Paypage POST | https://payment-webinit.test.sips-services.com/paymentInit |
Paypage JSON | https://payment-webinit.test.sips-services.com/rs-services/v2/paymentInit |
Paypage SOAP | https://payment-webinit.test.sips-services.com/services/v2/paymentInit |
Office | https://office-server.test.sips-services.com |
transactionReference
. Therefore, you need to
send the populated transactionRefence
field in your test
requests.Step 3 - Subscribe to the production service
Your shop is not registered with Worldline Sips.
If your shop has not yet been registered, you must fill in the registration form and return it to Worldline.
Your shop is already registered withWorldline Sips.
If your shop is already registered with Worldline Sips, you must confirm with Worldline that you have access to Sips Office Batch or Sips Office.
Step 4 - Start and validate the service in production
You must change the URL to connect to the Worldline Sips production server using the credentials you received when registering merchangtId, secretKey, and keyVersion.
Worldline Sips URL | URL of the Worldline Sips payment server retrieved by e-mail. |
MerchantId | Shop ID received by e-mail. |
SecretKey | Secret key you retrieve via the Sips Download extranet. |
KeyVersion | Secret key version retrieved on Sips Download (obviously 1 for the 1st key). |
If you want to customize your payment pages, please follow the procedure described in the Custompages documentation.