active_merchant icon indicating copy to clipboard operation
active_merchant copied to clipboard

SecurePayAU: Send order ID for payments with stored card

Open dacook opened this issue 3 years ago • 9 comments

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:

  • Fixed broken remote tests
  • Send content-type headers for best practice

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

dacook avatar May 13 '21 06:05 dacook

It would be great if someone could take a look at this. We have been using this code in production for a long time.

dacook avatar Jun 09 '21 01:06 dacook

@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.

dacook avatar Aug 25 '23 03:08 dacook

PS I actually have some spec improvements to offer too, but as they depend on this PR I never bothered submitting them..

dacook avatar Aug 25 '23 03:08 dacook

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!

github-actions[bot] avatar Jun 09 '24 01:06 github-actions[bot]

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?

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.

PS let me know if you'd like me to rebase it.

dacook avatar Jun 11 '24 00:06 dacook

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?

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.

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

aenand avatar Jun 11 '24 16:06 aenand

Thanks. It looks like the PR name should be enough for the changelog, and in fact the wiki states:

Does not update the CHANGELOG

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?

dacook avatar Jun 17 '24 00:06 dacook

I'm unable to install gems for the new ruby version 3.1:

Resolving dependencies...
nokogiri-1.11.7-x86_64-darwin requires ruby version < 3.1.dev, >= 2.5, which is incompatible with the current version,
ruby 3.1.4p223

I tried using Ruby 2.7.8, but it was also refused:

Resolving dependencies...
Bundler could not find compatible versions for gem "ruby":
  In Gemfile:
    ruby

    activemerchant was resolved to 1.136.0, which depends on
      ruby (>= 3.1)

Could not find gem 'ruby (>= 3.1)', which is required by gem 'activemerchant', in any of the relevant sources:
  the local ruby installation

Therefore I can't re-run the tests until that is fixed.

dacook avatar Jun 17 '24 01:06 dacook

@aenand I have rebased and added a changelog line as requested. Can you please review my above comments also?

dacook avatar Jun 17 '24 01:06 dacook