Opayo/Elavon have emailed us to say they will be updating the URLs we use for our transactions and reporting.
The URLs you use to send transactions to Opayo will be changing to an Elavon domain and you need to make the changes to send your transactions to the updated URLs.
These changes must be made by 31st March 2024, this is when the SagePay URLs will cease to work.
Steps to reproduce
- Setup SagePay Module:
- Install and enable the SagePay module on a Drupal 7 site.
- Configure SagePay Settings:
- Access the SagePay module settings within the file commerce_sagepay_constants.inc and change the URL referring to the server.
- Verify the existing URLs set for test and live environments (
SAGEPAY_SERVER_SERVER_TESTandSAGEPAY_SERVER_SERVER_LIVErespectively).
- Attempt Transaction:
- Initiate a test transaction using the current SagePay URLs for transaction processing.
- Observe URL Error or Redirection:
- Note any errors or redirection encountered during the transaction due to outdated URLs.
- Document Errors Encountered:
- Document the specific errors or issues encountered during the transaction attempt.
Proposed resolution
Update the SagePay module by replacing the existing URLs (SAGEPAY_SERVER_SERVER_TEST and SAGEPAY_SERVER_SERVER_LIVE) with the new URLs provided by Elavon for both test and live environments.
But I'm not sure if we have to update all the URLs on the file
Test environment:
Before: SAGEPAY_SERVER_SERVER_TEST pointing to 'https://test.sagepay.com/gateway/service/vspserver-register.vsp'
After: SAGEPAY_SERVER_SERVER_TEST pointing to 'https://sandbox.opayo.eu.elavon.com/gateway/service/vspserver-register.vsp'
Production Environment (Live):
Before: SAGEPAY_SERVER_SERVER_LIVE pointing to 'https://live.sagepay.com/gateway/service/vspserver-register.vsp'
After: SAGEPAY_SERVER_SERVER_LIVE pointing to 'https://live.opayo.eu.elavon.com/gateway/service/vspserver-register.vsp'
Remaining tasks
- Update URLs:
- Locate the specific definitions of
SAGEPAY_SERVER_SERVER_TESTandSAGEPAY_SERVER_SERVER_LIVEin the SagePay module code. - Replace the existing URLs with the new URLs provided by Elavon.
- Locate the specific definitions of
- Testing:
- Thoroughly test the updated SagePay module in both test and live environments to ensure proper functionality and transaction processing.
User interface changes
No direct user interface changes are expected from this update. However, users will experience improved transaction processing post-update.
API changes
No API changes are introduced; only the URLs within the module codebase are updated.
Data model changes
There are no data model changes associated with this update.
Issue fork commerce_sagepay-3406234
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #3
brandonlira commented