Integrating with QR Riyal is simple! Check out the guides below to see the different integration methods. They’re listed from the easiest at the top, to the most difficult at the bottom.
Sign UpWith this integration, you get full access to the QR Riyal portal, where you can easily and quickly create and send payment links to your customers. To generate a payment request, enter these details: the payment amount, customer’s name, reference you expect on your bank statement (e.g. an invoice number), and the payment link delivery method. You can choose one of three different ways to send the payment link: SMS: Ask for your customer’s cellphone number, and enter it into the payment request portal. Your customer will then receive an SMS with a payment link.
This integration method is a normal HTML form with text fields that are posted to QR Riyal. Your customer is redirected from your website to QR Riyal’s payment page – from there, they’ll go through the payment process. Once their payment is successful, QR Riyal redirects your customer back to your website, as set out by the callback URLs in the form’s post fields. Please note that there are a few optional fields that you can use, which you can find out more about by contacting support@qrriyal.com.
This integration method helps alleviate the need to redirect your customer. All you have to do is add a script file to your website. This will pull one of two simple payment screen types into your website:
QR Riyal also provides an integration method that generates a URL link via an API. All you need to do to set this up is call QR Riyal’s API, pass through a few data fields stipulating payment details, and identify yourself as the merchant.
For all the developers out there:
When your customer has made their purchase and selected QR Riyal as their payment method, you’ll need to post the following variables to https://pay.qrriyal.com.