554107
22
Zoom out
Zoom in
Previous page
1/44
Next page
22
Recurring payments manual
Appendix B: Complete workflow example
To help understand the principles outlined in this manual, we will walk through a scenario, from the initial payment through to
subsequent recurring payments.
The Merchant has two offerings products and subscriptions. For products, the shopper selects a product, pays, and then has the
item delivered to them. The Merchant has decided that, for certain products, they will allow the shopper to choose from an existing
stored card, if it exists, or the option to add a new one.
For subscriptions, the shopper selects a service, pays upfront for the first month, with the option to select from existing stored cards
if they exist, and agrees to be automatically charged every month until they cancel. The Merchant has decided that, for subscriptions
only, they will always use the last stored card details for the shopper in subsequent months.
Step 1: First initial recurring payment
On the 1
st
of January 2014 a shopper signs up with the Merchant and is making their first purchase of a product.
The Merchant creates a Payment request including the required additional fields as follows:
shopperReference: grasshopper77
shopperEmail: gras.shopper77@somewhere.org
recurringContract: RECURRING
The payment request might look as follows:
<input type="hidden" name="merchantReference" value="ProductOrder041-201" />
<input type="hidden" name="paymentAmount" value="5000" />
<input type="hidden" name="currencyCode" value="EUR" />
<input type="hidden" name="shipBeforeDate" value="2014-02-01" />
<input type="hidden" name="skinCode" value="4aD37dJA" />
<input type="hidden" name="merchantAccount" value="SupportAdyenDemo" />
<input type="hidden" name="shopperLocale" value="en_GB" />
<input type="hidden" name="orderData"
value="H4sIAAAAAAAAALMpsOPlCkssyswvLVZIz89PKVZIzEtRKE4tKstMTi3W4+Wy0S+wAwDOGUCXJgAAAA==" />
<input type="hidden" name="sessionValidity" value="2014-01-02T11:00:00Z" />
<input type="hidden" name="merchantSig" value="33syARtfsxD47jeXzOlEyZ0j3pg=" />
<input type="hidden" name="shopperEmail" value="gras.shopper77@somewhere.org" />
<input type="hidden" name="shopperReference" value="grasshopper77" />
<input type="hidden" name="recurringContract" value="RECURRING" />
Once on the HPP, the shopper successfully uses a Visa card ending 1111, and the Merchant receives an AUTHORISATION notification
of successful payment. The merchant now knows the recurring detail has been stored, with a new recurring contract created. The
Merchant does not receive any information about the recurring details, as these are not needed at this point.
Step 2: listRecurringDetails for a shopper
A week later, on 8
th
January 2014, the same shopper returns to the website and purchases a subscription.
The Merchant decides to check to see if the shopper has any stored recurring details:
<?xml version="1.0"?>
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<soap:Body>
<ns1:listRecurringDetails xmlns:ns1="http://recurring.services.adyen.com">
<ns1:request>
<ns1:recurring>
<contract xmlns="http://payment.services.adyen.com">RECURRING</value>
22


Need help? Post your question in this forum.

Forumrules


Report abuse

Libble takes abuse of its services very seriously. We're committed to dealing with such abuse according to the laws in your country of residence. When you submit a report, we'll investigate it and take the appropriate action. We'll get back to you only if we require additional details or have more information to share.

Product:

For example, Anti-Semitic content, racist content, or material that could result in a violent physical act.

For example, a credit card number, a personal identification number, or an unlisted home address. Note that email addresses and full names are not considered private information.

Forumrules

To achieve meaningful questions, we apply the following rules:

Register

Register getting emails for Adyen Recurring payments at:


You will receive an email to register for one or both of the options.


Get your user manual by e-mail

Enter your email address to receive the manual of Adyen Recurring payments in the language / languages: English as an attachment in your email.

The manual is 1,39 mb in size.

 

You will receive the manual in your email within minutes. If you have not received an email, then probably have entered the wrong email address or your mailbox is too full. In addition, it may be that your ISP may have a maximum size for emails to receive.

The manual is sent by email. Check your email

If you have not received an email with the manual within fifteen minutes, it may be that you have a entered a wrong email address or that your ISP has set a maximum size to receive email that is smaller than the size of the manual.

The email address you have provided is not correct.

Please check the email address and correct it.

Your question is posted on this page

Would you like to receive an email when new answers and questions are posted? Please enter your email address.



Info