Skip to main content

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

  1. The customer goes to the checkout form on your website and reaches the payment stage.
  2. Your website creates a new payment. This will include the payment amount, currency, description and paymentId (the order’s unique identifier in your system), as well as the returnUrl where Rocka should redirect the customer once the payment is complete. For more details, see Create a payment.
  3. The customer chooses their preferred payment method and makes the payment.
  4. Once the payment’s status changes to Done (or Failed), Rocka will notify you. The two most common methods are through returnUrl or 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 ButtonCustom buttons
Payment flow for your customerYour 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 methodsYes, alwaysYou can manually add as many payment methods as you want to offer on your checkout
Useful forWhen you are servicing customers from many different localesWhen you want to customise and fine-tune the checkout form for specific locales, and/or to speed up the checkout process
For more details on how to customise payment buttons, see Display custom payment buttons.