Re is out: see what's new Lifetime updates on every purchase Support replies within 24 hours Secure checkout via Gumroad 8,500+ sales since 2016

Robokassa

Updated 2 min read 0 views

The Robokassa (Робокасса) add-on adds Robokassa to the Payment field. Visitors click Pay and pay in Robokassa’s own window: bank cards, SBP, e-wallets and the other methods of your shop.

Set it up

  1. In your Robokassa account, open the shop’s Technical settings.
  2. In Contact Form → Settings → Payments → Robokassa, paste the Shop ID, Password #1 and Password #2, and pick the same hash algorithm as there. Save.
  3. Back in Robokassa’s Technical settings, set Result URL to the address the card shows (?remaily_robokassa=result, method POST), and Success URL and Fail URL to the other one (?remaily_payment_return=robokassa).
  4. If you send receipts through Robokassa (54-FZ), turn on Send receipts, and pick the VAT rate and What is paid for.
  5. Pick Robokassa in a Payment field’s Pay with, with the currency RUB.

For test payments, turn on Test mode and paste the test passwords from the same Technical settings.

How a payment goes

  1. The visitor sends the form; Re:Maily works out the amount and signs the payment link with password #1, so the sum can’t be changed on the way.
  2. Pay opens Robokassa’s window. While it’s open, the form asks your site every few seconds whether it was paid.
  3. Robokassa tells your site (the Result URL, signed with password #2), or your site asks Robokassa itself. Once it’s paid, the window closes and the form sends itself, and the message goes. One payment sends one message.

The browser has to allow the window to open; if it blocks it, the form says so.

Was this article helpful?