Przelewy24
Intro
Przelewy24 is a Polish online banking payment method.
A network 165 banks and the option to make purchases via bank transfer makes Przelewy24 the most popular payment method in Poland.
You redirect your customers to their online bank where they log in to their online bank account. They authenticate the bank transfer for which you receive an immediate result.
The integration is very easy, as you only need to send some additional parameters along with you request.
Key benefits
- Low PCI requirements (no sensitive or personal data shared)
- Easy integration
- Very popular in Poland
- Allows partial/multiple/full refunds
Onboarding
To use Przelewy24 in our live environment, follow these steps:
- Make sure to add currency Polish zloty (PLN) via the Back Office (Configuration > Account > Currency).
- Get the activation credentials (Merchant ID/CRC/Secret) from your Przelewy24 user profile.
- Enter the activation credentials in the Merchant Portal.
Integration
Redirect your customers to the Przelewy24 portal via our Hosted Checkout Page. Find a high level overview in the "Process flows" chapter.
Add the following properties to a standard CreateHostedCheckout request:
{
"order": {
"amountOfMoney": {
"currencyCode": "PLN",
"amount": 150
},
"customer": {
"contactDetails": {
"emailAddress": "wile.e.coyote@acmelabs.com"
}
},
"references": {
"Descriptor": "MerchantDescriptor"
}
},
"hostedCheckoutSpecificInput": {
"locale": "en_GB"
},
"redirectPaymentMethodSpecificInput": {
"PaymentProductId": 3124,
"returnURL": "https: //yourReturnUrl.com"
}
}
Properties | Remarks |
---|---|
order.amountOfMoney |
amount: The gross amount you want to charge for this order. currencyCode: The ISO 4217 currency code for this amount. |
order.customer.contactDetails.emailAddress |
Your customer's e-mail address. |
hostedCheckoutSpecificInput |
locale: The language version of our Hosted Checkout Page |
references.descriptor |
A dynamic descriptor appearing on your customers' bank statement. Although not mandatory, we strongly recommend adding it to your order for maximum transparency. |
redirectPaymentMethodSpecificInput |
paymentProductId: The numeric identifier of the payment method on our platform. Find this id in the "Overview" chapter. It instructs our platform to send your customers directly to the P24 portal. If left out, our platform sends your customers to the Hosted Checkout Page instead, allowing them to choose this or any other payment method in your account. returnUrl:The URL we redirect your customers to after the payment has been finalised. |
Find detailed information about this object and its properties in our CreateHostedCheckoutAPI.
Process flows
- Your customers finalise an order in your shop and select Przelewy24.
- You send this CreateHostedCheckout request to our platform .
- You redirect your customers via the redirectUrl to the Przelewy24 portal. They select their bank and login to their online banking account. They confirm the order with the prefilled data.
- We receive the transaction result.
- We redirect your customer to your returnUrl
- You request the transaction result from our platform via GetHostedCheckout or receive the result via webhooks.
- If the transaction was successful, you can deliver the goods / service.
- If there is a technical failure after selecting the bank or your customers cancel the payment in their bank account, the transaction will have
status="CAPTURE_REQUESTED"
/statusOutput.statusCategory="PENDING_CONNECT_OR_3RD_PARTY"
/statusOutput.statusCode=92
- Our platform will update the transactions to
status="REJECTED"
/statusOutput.statusCategory="UNSUCCESSFUL"
/statusOutput.statusCode=2
within 24 hours. - If your customers still wish to complete the payment, you need to create a new transaction requests.
Testing
Refer to our Test cases for test data and detailed instructions.
Make sure to use the right endpoint and switch back to the live URL as soon as you have finished your tests.