Recurring card payments - combine RG.DB or RG.PA

Follow

Use case

For recurring card payments, COPYandPAY offers a special workflow. Instead of sending a stand-alone Registration (RG) for storing the shoppers' data followed by a Debit (DB) or Preauthorization (PA), it is possible to combine the Registration with the payment in just one request. Simply send a CC.RG.DB or CC.RG.PA transaction. With this combined request, a registration is send to the system which saves all shopper data including credit card numbers and in addition, a Debit or Authorisation is triggered.

Solution

Use the combination worfklow and send CC.RG.DB/RG./PA in one request.

Option 1) Send a Registration with a following Debit - CC.RG.DB

  • When generating a COPYandPAY token, set PAYMENT.TYPE=RG.DB

Option 2) Registration with a following Preauthorisation - CC.RG.PA

  • When generating a COPYandPAY token, set PAYMENT.TYPE=RG.PA

Example:

Sample GenerateToken request
SECURITY.SENDER=8a82941743e2e2d80143e73bde660493
TRANSACTION.CHANNEL=8a82941743e2e2d80143e73bde660498
USER.LOGIN=8a82941743e2e2d80143e73bde660497
USER.PWD=demo
TRANSACTION.MODE=INTEGRATOR_TEST
PAYMENT.TYPE=RG.DB <!-- Sample combined call -->
PRESENTATION.AMOUNT=50
PRESENTATION.CURRENCY=EUR
ADDRESS.STREET=BAYERN
ADDRESS.ZIP=12345
ADDRESS.CITY=MUNCHEN
ADDRESS.COUNTRY=DE
CONTACT.EMAIL=shopper@generic.com
NAME.GIVEN=shopper
NAME.FAMILY=user

In both cases, the COPYandPAY payment widget renders the credit card form and the shopper enters credit card data. The response of the GetStatus call includes the status of the payment and a parameter "registration". The parameter registration is the uniqueID of the RG transaction. This id can be used for future recurring payments.

Payment response
{
"token":"9B7C1FAAF3730BDF4FCBAEFEA0CAF704.sbg-vm-fe01",
"transaction":{
"account":{
"bin":"420000",
"brand":"VISA",
"expiry":{
"month":"12",
"year":"2014"
},
"holder":"christian",
"last4Digits":"0000",
"registration":"ff80808146ec94b70146ed54ecc64dce"
},
"channel":"8a82941743e2e2d80143e73bde660498",
"criterions":[{
"name":"mode",
"value":"copyandpay"
}],
"customer":{
"address":{
"city":"MUNCHEN",
"country":"DE",
"street":"BAYERN",
"zip":"12345"
},
"contact":{
"ip":"82.135.34.186",
"ipCountry":"de"
}
},
"identification":{
"shortId":"0570.1169.2194",
"uniqueId":"ff80808146ec94b70146ed54f0544dee"
},
"mode":"INTEGRATOR_TEST",
"payment":{
"clearing":{
"amount":"50.0",
"currency":"EUR"
},
"code":"CC.DB"
},
"processing":{
"code":"CC.DB.90.00",
"connectorDetails":[],
"reason":{
"code":"00",
"message":"Successful Processing"
},
"result":"ACK",
"return":{
"code":"000.100.110",
"message":"Request successfully processed in 'Merchant in Integrator Test Mode'"
},
"timestamp":"2014-06-30 15:11:45"
},
"response":"SYNC"
}
}

 

Have more questions? Submit a request

Comments

Powered by Zendesk