Email with direct payment instructions

If you want to communicate to your customers directly with offers, you can include a direct link to the payment page in every email – with descriptions, payment amount, etc. already pre-filled.

This means that you can generate payment links without Adyen's intervention, even when sending out thousands of emails to your customers.  For example, if you have an offer for a cooking set as depicted below. You send out a mail to your customers and they get the following message in their mailbox: 

By clicking the Pay Now! button, the shopper is immediately sent to the (one-page) payment screen, where all order details are already filled in. Shopper only needs to enter their payment details.

When to use

  • Marketing actions to your existing customer base
  • If you have seen shoppers abandon the ordering processing

When constructing the email your system builds a link to our payment page just as would happen in your webshop. The example below shows what such links look like:

https://test.adyen.com/hpp/pay.shtml?paymentAmount=8650&currencyCode=EUR&shipBeforeDate=2009-09-23&merchantReference=TMRef1234&skinCode=aF563qQs&merchantAccount=TestMerchant&sessionValidity=2009-09-17T11%3A38%3A55Z&merchantSig=62unnLF...ubZc%3D-&shopperLocale=en_GB&orderData=H4sIAAAAA.....OQBQDxrK1skQEAAA%3D%3D

Due to restrictions of most Internet browsers, the GET URL is limited to a maximum of 1024 characters. You also need to properly urlencode the URL.

Ensure that the sessionValidity value is in set sometime in the future to allow the shopper time to pay for the product since this is communicated offline (via email).

Adyen provides you with a sample application that demonstrates generating a payment URL for a HPP payment form. For more information, see the Adyen GitHub page.