-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Added new updated API url's and fixed up tests. #12
Conversation
@joshbenham Tests are green in my local end, but failed in travis build, could you please help. It says like below:
|
@delatbabel @joshbenham with the recent updated doc from Secure Pay
They are saying, they have updated hashing mechanism from SHA1 to SHA256 fingerprints, i tried to use |
I am getting Approved with test urls with
Still getting the fingerprint different so its throwing an exception.
|
Contacted technical support at SecurePay to know about the sha256 i will update the PR accordingly. |
From SecurePay support: SHA256 is not currently supported on the test environment due to an issue we are working on. For now, please use SHA1 to hash the fingerprint until further notice. Apologies for the inconvenience. SHA1 works with all of the endpoints for now (a notification will be sent to you before SHA1 is disabled). Can you confirm if you're using the following URL to send payment requests to? https://api.securepay.com.au/directpost/authorise And with |
OK this is green on travis but I'm a bit concerned about the SHA1/SHA256 comment above. Is this ready to merge or not? |
Also I think this obsoletes #11 -- can you please confirm? |
@delatbabel Let's wait until we hear back from Secure Pay again, they are still working on the upgrade to SHA256, and current production are still fine with the SHA1 hashing. I will update the PR later to use the SHA256 hashing. |
@delatbabel Also upgrading to SHA256 will need update to tests as well. Will update later once we get notice from SecurePay officials. |
Noted, thanks for the update. |
Can we combine this with a release for Omnipay v3? |
@barryvdh Yep the PR is valid to merge, the team has already finalized the end points on test env, see the official doc - https://www.securepay.com.au/tlsv1-2-upgrade-information |
Did you use this in production? Should I tag a new release? |
I can tag this as v2.2 and if you want, you can create a PR to upgrade it to Omnipay v3: https://omnipay.thephpleague.com/changelog/ |
@barryvdh We are using in our production, and the new endpoint changes worked well on both production, sandbox. |
No description provided.