-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
SecurePayAU: Send order ID for payments with stored card #3979
SecurePayAU: Send order ID for payments with stored card #3979
Conversation
It would be great if someone could take a look at this. |
@rachelkirk and @curiousepic, apologies for the ping, but I'm not sure what the process is for reviewing PRs and I see that you've recently approved a PR. We've been using this code since 2018, and submitted the PR in 2021 as per the contributing guide. We've also submitted another PR here. Would you or somebody be able to take a look? We'd love to be able to use and further support the official gem, rather than our own fork. |
PS I actually have some spec improvements to offer too, but as they depend on this PR I never bothered submitting them.. |
To provide a cleaner slate for the maintenance of the library, this PR/Issue is being labeled stale after 60 days without activity. It will be closed in 14 days unless you comment with an update regarding its applicability to the current build. Thank you! |
Hi @aenand I'm pinging you as you have recently reviewed some PRs. This is due to be closed, however I believe it has value and is ready to go (including specs as per the guide). Can you please take a look or assign to the relevant person?
PS let me know if you'd like me to rebase it. |
Hey @dacook I'm so sorry this has slipped through the cracks. If you rebase this and add a changelog I will look to merge this |
Thanks. It looks like the PR name should be enough for the changelog, and in fact the wiki states:
Should I add the PR name to the CHANGELOG file in this PR, and if so can you please update the wiki to make that clearer? |
I'm unable to install gems for the new ruby version 3.1:
I tried using Ruby 2.7.8, but it was also refused:
Therefore I can't re-run the tests until that is fixed. |
60ee332
to
7c32abe
Compare
@aenand I have rebased and added a changelog line as requested. |
To provide a cleaner slate for the maintenance of the library, this PR/Issue is being labeled stale after 60 days without activity. It will be closed in 14 days unless you comment with an update regarding its applicability to the current build. Thank you! |
2ef5388
to
1b6481a
Compare
Hi @aenand, can you please review this longstanding PR? |
To provide a cleaner slate for the maintenance of the library, this PR/Issue is being labeled stale after 60 days without activity. It will be closed in 14 days unless you comment with an update regarding its applicability to the current build. Thank you! |
Hi @jcreiff, @almalee24, @DustinHaefele, I'm pinging you because you recently approved or merged PRs. I don't understand the review process or why newer PRs seem to be prioritised over older ones like this one. Can you please review and explain if anything is wrong with it? It's a simple addition that has been used in production since 2018. The CHANGELOG message that was requested is obviously conflicting. I'd be happy to rebase and update that one more time if someone will actually look at it this time. |
To provide a cleaner slate for the maintenance of the library, this PR/Issue is being labeled stale after 60 days without activity. It will be closed in 14 days unless you comment with an update regarding its applicability to the current build. Thank you! |
sigh 🙄 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks good. I ran all the tests locally and feel good about merging it.
Hey @dacook, I hate to ask one more thing from you I know we have failed to get this in for you for years now, which is ridiculous. But can you rebase one more time. There is a merge conflict, though it is just on the changelog. I was going to resolve, but didn't want to push to your repo. I know our timezones are all off, but I have left a note on my desk to look at this and merge first thing tomorrow the morning so that you have waking hours on your side of the globe to do the rebase. |
test/remote/gateways/remote_secure_pay_au_test.rb 18 tests, 56 assertions, 0 failures, 0 errors, 0 pendings, 2 omissions, 0 notifications 100% passed
test/unit/gateways/secure_pay_au_test.rb 24 tests, 106 assertions, 0 failures, 0 errors, 0 pendings, 0 omissions, 0 notifications 100% passed test/remote/gateways/remote_secure_pay_au_test.rb 18 tests, 56 assertions, 0 failures, 0 errors, 0 pendings, 2 omissions, 0 notifications 100% passed
As per XML spec (https://auspost.com.au/payments/docs/securepay/?javascript#other-integration-methods -> Card Storage and Scheduled Payments) test/unit/gateways/secure_pay_au_test.rb 24 tests, 106 assertions, 0 failures, 0 errors, 0 pendings, 0 omissions, 0 notifications 100% passed test/remote/gateways/remote_secure_pay_au_test.rb 18 tests, 57 assertions, 0 failures, 0 errors, 0 pendings, 2 omissions, 0 notifications 100% passed Co-authored-by: David Cook <[email protected]>
1b6481a
to
dc8ec67
Compare
Hi @DustinHaefele , thanks for following up. Sorry I didn't see this earlier. I've rebased to fix the changelog conflict (and also updated the URL in the last commit message), so it should be ready to go! |
Hey @dacook, sorry again this took so long! Glad we got it resolved this morning/evening. |
Changelog: SecurePayAU: Send order ID for payments with stored cards
Order IDs were being sent for normal payments, but now they are also sent for payments triggered on stored cards as
transactionReference
.As per XML spec (https://auspost.com.au/payments/docs/securepay/resources/API_Card_Storage_and_Scheduled_Payments.pdf )
Also:
Unit test results:
test/unit/gateways/secure_pay_au_test.rb
24 tests, 106 assertions, 0 failures, 0 errors, 0 pendings, 0 omissions, 0 notifications
100% passed
Remote test results:
test/remote/gateways/remote_secure_pay_au_test.rb
18 tests, 57 assertions, 0 failures, 0 errors, 0 pendings, 2 omissions, 0 notifications
100% passed