Once you have installed the Shopify Payment App, you can test your Revolut setup by simulating successful and failed transactions.
Select the Enable test mode checkbox and click the Save button.
You can start testing payments using our test cards.
Reordering payment gateways is only available for Shopify Plus accounts.
This guide provides instructions for changing the display order of payment gateways on Shopify stores' checkout page.
Shopify lets you interact with your installed payment gateways via Shopify Scripts. You can use these scripts to reorganise the payment gateways' display order on your checkout page. To do this, follow these steps:
Log in to your Shopify admin dashboard and navigate to Apps > Script Editor.
Click on Create script.
On the pop-up window, navigate to the Payment gateways tab, select Blank template, and click Create script.
Navigate to the Code panel, and delete the default code from the Ruby source code section.
Depending on which gateway app you installed, copy-paste the following script in the Ruby source code section:
desired_order = ["Revolut Pay", "Shopify Payments", "Cash on Delivery (COD)", "Money Order"]
Output.payment_gateways = Input.payment_gateways.sort_by do |payment_gateway|
desired_order.index(payment_gateway.name) || Float::INFINITY
end
The desired_order
list should contain the name of your installed payment gateways. The order of elements from left to right will determine the display order of the payment gateways from top to bottom on the checkout page.
Modify the order of items to change the display order of payment gateways. For higher conversion rates, we recommend displaying Revolut's gateways at the first place.
Click Run script, then see the results on your preview store.
Save or publish your script:
The following limitations apply to scripts: