riverty logo

Docs

Get Started Login

Upgrade SOAP to RESTful API

(Back to Woocommerce)

Introduction

All Riverty connections in Woocommerce for Dutch and Belgian clients need to upgrade from Riverty’s old SOAP API to the new RESTful Checkout API before August 1, 2024. Failure to update the RESTful connection will result in the rejection of all incoming orders starting on August 1, 2024.

Support

In case you require assistance at any point in the process, please reach out to support@riverty.com.

The Benefits of the RESTful Checkout API

  1. Faster response times improve your customers' shopping experience
  2. No more need to ask 'gender,' so 1 less step at the checkout
  3. Images of the products in your online shop become visible in the Riverty app and the MyRiverty web portal
  4. Our new products, such as Pay-In-3, are only available via the RESTful Checkout API connection. Future new products will also be available only via RESTful Checkout API
  5. Riverty’s Strong Customer Authentication solution is only available via RESTful API
  6. The RESTful Checkout API expands available markets to the Netherlands, Belgium, Germany, Austria, Switzerland, Norway, Finland, Sweden and Denmark
  7. The RESTful Checkout API reliable connection in use since 2016

6 Steps to Upgrade from SOAP to RESTful API

Frame 21575 (2).png

Step 1: Confirm Plugin Version

Group 20074 (1) (1).png

  1. Log into the Wordpress admin environment
  2. Choose Plugins in the left menu
  3. Search for Riverty Payment Gateway (or AfterPay Payment Gateway)
  4. The version number of the plugin should be at least: 7.1.0. If you have an older (lower) version of the Riverty plugin, update to the latest version first. If you don’t have this version, please access the marketplace to download the file directly from there

Step 2: Retrieve your Shop’s API Key

The SOAP connection works via a username (Merchant ID and Portfolio ID) and a password. The REST connection replaces that with an API Key. Your API Key can be found on our Merchant Portal.
Group 20079 (1).png

  1. Open the left menu
  2. Choose Developer Info in the left menu
  3. Show your API Key (This is only visible to Merchant Portal users with rights 'Administrator')

Step 3: Select RESTful Payment Methods

Important Note, “Step 3: Store API Key” & “Step 4: Configure RESTful Payment Methods” must be completed for each selected country-payment method combination with a different API Key! (you will get a different API Key per Country, per payment method and per Webshop) For example, if you offer 14-day Invoice in the Netherlands and Belgium, you need to repeat these steps twice with two different API Keys.
Group 20078 (2).png

  1. Sign in to your Woocommerce Admin Panel and Select WooCommerce
  2. Select Settings
  3. Select Payments Tab
  4. Enable Wanted Payments Methods
  5. Note, any payment methods marked (Legacy SOAP) should not be selected
  6. Click Finish set up

Step 4: Configure Payment Method

Group 20087 (1).png

  1. Enter your API Key from the Merchant Portal into Production mode API Key
  2. Select Production in Environment
    • Note, if you are testing with your Test API Key, select Test instead
  3. Click Test API Key and a green checkmark should appear
    • If the API key test fails, double check the key for typos and confirm it is for the selected environment
  4. Click Save Changes
    • Note, if you are testing first, you will need to repeat this step with your Production API Key when you are done with testing.
  5. If successfully saved, the Finish set up button should change to Manage
    Group 20089 (1).png

Step 5: Transfer SOAP Settings to RESTful

Group 20085 (1).png

  1. Check your old (Legacy SOAP) payment methods for any settings (other than those mentioned in Step 4). Be sure to check your advanced settings.
  2. If you find settings which need to be transferred from SOAP to REST, please see a translation table below detailing which settings correlate to one another.
    • Note, some SOAP settings were simply removed from the REST interface altogether and do not need to be transferred. They are marked “not applicable”
Field name in SOAP Field name in REST Notes
Title Not applicable Not needed for REST
Test mode API Key Input for Partner test / Test API Key taken from Riverty Merchant Portal.
Sandbox mode API Key API Key from Riverty Developer Portal
Production mode API Key API Key from the Riverty Merchant Portal.
Extra information Not applicable Description of the payment method
Merchant ID Merchant ID Not needed for REST
Portfolio number Not applicable Not needed for REST
Portfolio password Not applicable Not needed for REST
Lower threshold Lower threshold Not needed for REST
Upper threshold Upper threshold Copy from SOAP to Rest
Test mode Environment Environment, could be Partner Test/Test, Sandbox, Live/production
Debug mail Debug mail Make sure the Environment is set to 'Production
Notification mail Not applicable Not needed for REST
IP Restriction IP Restriction Not mandatory. If you would like to add an IP restriction to your webshop when using a Riverty payment method
Show advanced settings (zet op "Yes") Show advanced settings (zet op "Yes") Optional
Show phone number Show phone number Set to 'Yes
Show gender Not applicable Not needed for REST
Exclude shipping methods Exclude shipping methods Not needed for REST
Use custom house number field Use custom house number field Copy from SOAP to Rest
Use custom house number addition field Use custom house number addition field Copy from SOAP to Rest
Enable captures Enable captures Copy from SOAP to Rest
Way of captures Way of captures Copy from SOAP to Rest
Enable refunds Enable refunds Copy from SOAP to Rest
Refund tax percentage Enter 21 if you sell VAT-taxed products in your shop

Step 6: Disable SOAP Payment Methods

When all selected RESTful Payment Methods are configured and all applicable settings have been transferred, you are ready to disable all (Legacy SOAP) payment methods.
Group 20088 (1).png