Integrate our products into your software. Let's make payment happen together!
Look at all the possibilitiesIn the most common use case, the merchant creates a payment that the customer uses to pay for the order in full, using a single payment method.
Partial payments allows the customer to pay for the order in full by using a combination of:
card
, to pay for the remaining amount.With this approach, fulfillment of the to-be-paid amount can be divided over multiple transactions, i.e., one or more gift card transaction(s), and one transaction for the remaining amount using one of the other available payment methods.
Support for partial payments is available on our landing page. Alternatively, merchants can modify their own payment page to add partial payments support.
CCV takes care of the entire partial payment process on the landing page:
Furthermore, we also implement measures to meet the legal requirements regarding gift cards, as mandated by the Anti-Money Laundering Authority (AMLA).
See the screenshots below for an impression on the landing page with partial payment support.
If a merchant does not want to use the CCV landing page, they can modify their own payment page to add support for partial payments. Note that this requires the merchant to implement the logic otherwise handled by the landing page, such as adding/removing gift cards, validation, claiming, remaining amount calculation, and AMLA compliance.
The following two sections offer a high-level explanation on two possible approaches on how a merchant’s own payment page can be integrated with our partial payment process, without using the CCV landing page.
gift
with the requested amount.payUrl
of the created payment.details
of the transaction.card
with the remaining amount to be paid.gift
payment validate
request, including the total payment amount, gift card code, and a by CCV supported gift card acquirer.card
with the remaining amount to be paid.Claiming the gift card(s) can be done whenever the merchant wishes to do so during the payment process, by sending a gift
payment request, including the gift code and the corresponding approved gift amount as received earlier in the response
to the validate
request. Note that doing so will immediately result in the remaining amount on the gift card being reduced accordingly.
CONNECT
).gift
config.gift
method config has partial payments enabled.landingpage
, which serves as a nexus for payment method selection but also for partial payments.In order for a customer to know which gift cards can be used, we display the name and a corresponding image (if present) of the brand(s) on the gift payment or landing page. A customer must select a gift card brand before proceeding to claim a gift card.
A merchant who wishes to make use of gift cards must be enrolled for these brands with a gift acquirer supported by CCV. This is then configured and these subscribed brands can then be retrieved via /method. A merchant can thereby also display all supported brands by name and as images on a webshop page, before optionally redirecting the customer to one of the CCV payment pages.
Payment method Gift is not a “collecting” payment method. This means that the amount will not be paid out by CCV, but directly by the issuer of the card to the merchant. However, the method selected to cover the remaining amount can be “collecting”. For example, for a transaction using the CCV landing page when a customer chooses to:
This example is based on a landing page payment. The customer will use a gift card to partially pay the requested amount, and iDeal to pay the remaining amount.
You initiate a new payment of type landingpage
{
"amount": 34.56,
"currency" : "eur",
"method" : "landingpage",
"returnUrl" : "https://shop.merchant.com/return?order=123456",
"merchantOrderReference" : "123456",
"description" : "Order 123456",
"language" : "nld",
"billingAddress": "Westvoortsedijk",
"billingCity": "Arnhem",
"billingState": "GE",
"billingPostalCode" :"6827 AT",
"billingCountry": "NL",
"billingHouseNumber": "55"
}
CCV Pay responds with a generated transaction containing a unique payUrl
.
{
"language": "nld",
"method": "landingpage",
"currency": "eur",
"billingAddress": "Westvoortsedijk",
"billingPostalCode": "6827 AT",
"billingCity": "Arnhem",
"billingState": "GE",
"billingCountry": "NL",
"created": 1610111865939,
"merchantOrderReference": "123456",
"lastUpdate": 1610111865939,
"returnUrl": "https://shop.merchant.com/return?order=123456",
"reference": "L210108141745898CB87E182.2",
"billingHouseNumber": "55",
"cancelUrl": "${baseUrl}/card/cancel/merchant?reference=L210108141745898CB87E182.2",
"amount": 23.45,
"payUrl": "${baseUrl}/landingpage/payment.html?reference=L210108141745898CB87E182.2",
"description": "Order 123456",
"status": "pending",
"type": "sale"
}
You redirect the customer to the payUrl
, which results in the landing page.
Here the option to use a gift card is shown.
returnUrl
if the balance of the gift card was equal to or higher than the payment amount, orThe customer is redirected to the payment form of the selected payment method, where after completion the customer is redirected to the returnUrl
.
You can check the status of the payment by Reading the Transaction.
If the payment succeeds, the transaction is updated with status success
.
{
"language": "nld",
"method": "landingpage",
"currency": "eur",
"billingAddress": "Westvoortsedijk",
"billingPostalCode": "6827 AT",
"billingCity": "Arnhem",
"billingState": "GE",
"billingCountry": "NL",
"created": 1610111865939,
"methodTransactionId": "test-e1ebc659-1d60-492c-a8ca-93f79327e4fe",
"paidout": "no",
"merchantOrderReference": "123456",
"lastUpdate": 1610111919539,
"returnUrl": "https://shop.merchant.com/return?order=123456",
"reference": "L210108141745898CB87E182.2",
"billingHouseNumber": "55",
"entryMode": "ecom",
"amount": 23.45,
"description": "Order 123456",
"status": "success",
"type": "sale"
}