When you've sold some products, it's really important you can take payment for these and one way to do this is your customer using credit and debit cards via Opayo.
For this article we'll assume that you already have a Opayo account set up. If you don't you can set one up, or perhaps use Paypal for now. There's an article about using Paypal here.
We're going to set this up via our App Store, but you'll need to get some information from your SagePay account first:
Step 1: Log in to MySagePay
Once you are logged in as the Administrator, in the Password details section of the Administrator tab you will see an option to ‘Create API credentials’.
Step 2: Create PI credentials
To create your credentials you just have to select the tick-box labelled “I understand that this will create new credentials and may break any existing Opayo API implementations.” and click on the 'Create API credentials’ button.
⚠️NOTE: When you choose to create new credentials, any previously generated credentials are immediately rendered invalid. Therefore, if you have already integrated with our REST API, you will not be able to authenticate your calls until you replace your expired credentials with the ones you just generated.
Once you have opted to create your new credentials we will present you with the following information:
► Environment: This specifies the environment (test or live)
► Vendor Name: The vendorname for the account
► Integration Key: The value for the Integration key (username)
► Integration Password: The value for the Integration password
Make sure you make a note of these details. More information on this can be found at https://www.opayo.co.uk/developers
Step 3: Enter the details in the App Store
Now you have the API details, we just need to copy and paste them into the Opayo App, so head into the App Store and find the Opayo App, click into it and simply copy over the information required.
It's important to make sure that you're using the details from the LIVE Opayo environment when your App is set to live and then hit 'update'
👉 Important: If you are seeing errors like 'transaction type not supported". It could be that the payment settings need to be changed to "...Charge Now". Or contact Opayo to setup preauth.
👍 Note: Once an order is completed you can view the transaction in Opayo. The Vendor TX Code will be order id and the number of attempts the user made before the transaction was accepted, for example "evox-3-123456" where 3 is the attempt and 123456 is the order id.
The last job is to pop into Store Settings > Payment Methods and activate Opayo.
After configure and enabling the Opayo gateway, if your store as an additional ERP that supports invoice payments.
Enable the checkbox "Available for invoices payment", allowing users to payment invoices using the Opayo option.