About accepting payments
Rocka helps you receive payments directly from your customers’ bank accounts. For you, the basic payment flow is simple: you set up payments using the Rocka API, send your customers to the checkout form and process the payment results. For your customers, all they need to do is choose their preferred payment method and authorise the payment in their bank app.The basic payment flow
- The customer goes to the checkout form on your website and reaches the payment stage.
- Your website creates a new payment. This will include the payment
amount,currency,descriptionandpaymentId(the order’s unique identifier in your system), as well as thereturnUrlwhere Rocka should redirect the customer once the payment is complete. For more details, see Create a payment. - The customer chooses their preferred payment method and makes the payment.
- Once the payment’s status changes to
Done(orFailed), Rocka will notify you. The two most common methods are throughreturnUrlor a webhook. From here, you can send the customer a confirmation message and start processing the order.
About Rocka Button and custom buttons
You can display either the Rocka Button interface or custom payment buttons. Rocka Button is the default Rocka payment interface, offering a range of payment methods that are tailored to the customer’s country. If you want to customise and fine-tune your checkout form, you can choose to display the payment buttons yourself. For example, you can display a payment button for a specific bank or country. This way, your customer can skip the payment method selection screen, and they’ll be redirected to the payment form for a specific method. Here’s an overview:| Rocka Button | Custom buttons | |
|---|---|---|
| Payment flow for your customer | Your customer clicks the payment button, selects their preferred payment method, enters their details and confirms the payment. | Your customer clicks the button for their preferred payment method, enters their details and confirms the payment. With bank-specific buttons, you can send the customer directly to their bank payment form. |
| Multiple payment methods | Yes, always | You can manually add as many payment methods as you want to offer on your checkout |
| Useful for | When you are servicing customers from many different locales | When you want to customise and fine-tune the checkout form for specific locales, and/or to speed up the checkout process |