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 SagePay.
For this article we'll assume that you already have a SagePay 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 Sage Pay 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 http://integrations.sagepay.co.uk/content/authentication-credentials
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 SagePay App, so head into the App Store and find the SagePay 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 sage environment when your App is set to live and then hit 'update'
👍 Note: Once an order is completed you can view the transaction in SagePay. 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 SagePay.