Hosted Payment Pages are no longer available
To accept payments through an Adyen-hosted page, use our Hosted Checkout.
This page is for the classic Hosted Payment Pages (HPP) integration, which has reached end-of-life. We are no longer processing transactions though HPP.
To accept a payment using one of the local payment methods (for example, iDEAL or SEPA), make a payment request to the Hosted Payment Pages API endpoint and pass split instructions using the split
prefix.
In the example below, paymentAmount
and currencyCode
fields contain payment details, brandCode
and issuerId
specify the local payment method, while split.
fields contain instructions on how to split a payment. In this case, EUR 62.00 will be split between an account holder's account (EUR 60.00) and your marketplace commission (EUR 2.00).
HTML:
<html>
<body>
<form method="post" action="https://test.adyen.com/hpp/skipDetails.shtml" id="adyenForm" name="adyenForm" target="_parent">
<input type="hidden" name="merchantReference" value="marketpay-test-6426782037" />
<input type="hidden" name="merchantAccount" value="TestMerchant" />
<input type="hidden" name="paymentAmount" value="6200" />
<input type="hidden" name="currencyCode" value="EUR" />
<input type="hidden" name="brandCode" value="ideal" />
<input type="hidden" name="issuerId" value="1121" />
<input type="hidden" name="skinCode" value="4aD37dJA" />
<input type="hidden" name="sessionValidity" value="2018-10-11T10:30:00Z" />
<input type="hidden" name="shopperLocale" value="en_GB" />
<input type="hidden" name="split.api" value="1" />
<input type="hidden" name="split.nrOfItems" value="2" />
<input type="hidden" name="split.totalAmount" value="6200" />
<input type="hidden" name="split.currencyCode" value="EUR" />
<input type="hidden" name="split.item1.amount" value="6000" />
<input type="hidden" name="split.item1.type" value="MarketPlace" />
<input type="hidden" name="split.item1.account" value="151272963" />
<input type="hidden" name="split.item1.reference" value="6124145" />
<input type="hidden" name="split.item1.description" value="Porcelain Doll: Eliza (20cm)" />
<input type="hidden" name="split.item2.amount" value="200" />
<input type="hidden" name="split.item2.type" value="Commission" />
<input type="hidden" name="split.item2.reference" value="6124146" />
<input type="hidden" name="merchantSig" value="3iWDU/V5RMtdaiZC4YRIpoX9/v0=" />
<input type="submit" value="Send" />
<input type="reset" />
</form>
</body>
</html>
curl:
curl https://test.adyen.com/hpp/skipDetails.shtml \ -d merchantReference=marketpay-test-6426782037 \
-d merchantAccount=TestMerchant \
-d paymentAmount=6200 \
-d currencyCode=EUR \
-d brandCode=ideal \
-d issuerId=1121 \
-d skinCode=4aD37dJA \
-d sessionValidity=2018-10-11T10%3A30%3A00Z \
-d shopperLocale=en_GB \
-d split.api=1 \
-d split.nrOfItems=2 \
-d split.totalAmount=6200 \
-d split.currencyCode=EUR \
-d split.item1.amount=6000 \
-d split.item1.type=MarketPlace \
-d split.item1.account=151272963 \
-d split.item1.reference=6124145 \
-d split.item1.description="Porcelain Doll: Eliza (20cm)" \
-d split.item2.amount=200 \
-d split.item2.type=Commission \
-d split.item2.reference=6124146 \
-d merchantSig=94AwPXSxs0ECicXi1UDdKEmdzHQ6rf7EF9CC%2FzUO5Tg%3D