Skip to content
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

Paymentez: Adds support for extra_params optional field #3095

Closed
wants to merge 1 commit into from

Conversation

molbrown
Copy link
Contributor

@molbrown molbrown commented Jan 2, 2019

Merchant may define custom optional fields in their Paymentez account, to
send with debit requests under extra_params object.

ENE-80

Unit:
19 tests, 77 assertions, 0 failures, 0 errors, 0 pendings, 0 omissions, 0 notifications

Remote:
20 tests, 47 assertions, 2 failures, 0 errors, 0 pendings, 0 omissions, 0 notifications
Failures unrelated to this change, have to do with country-specific allowances for
partial capture/ refund.

@molbrown molbrown requested a review from a team January 2, 2019 21:33
# def add_extra_params(post, options)
# post[:extra_params] = options[:extra_params] if options[:extra_params]
# end

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Missed a spot

Copy link
Contributor

@curiousepic curiousepic left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Otherwise, nice! That'll do it.

@curiousepic
Copy link
Contributor

curiousepic commented Jan 2, 2019

Or wait, does this actually support an array of sub-hashes? Shouldn't line 175 be items = []?

@molbrown
Copy link
Contributor Author

molbrown commented Jan 2, 2019

I don't believe extra_params is an array. Described here.

@curiousepic
Copy link
Contributor

Oh duh, got this mixed up with Bluesnap. 🚢

Merchant may define custom optional fields in their Paymentez account, to
send with debit requests under extra_params object.

ENE-80

Unit:
19 tests, 77 assertions, 0 failures, 0 errors, 0 pendings, 0 omissions, 0 notifications

Remote:
20 tests, 47 assertions, 2 failures, 0 errors, 0 pendings, 0 omissions, 0 notifications
Failures unrelated to this change, have to do with country-specific allowances for
partial capture/ refund.

Closes activemerchant#3095
@molbrown molbrown closed this in 6bf19af Jan 3, 2019
whitby3001 pushed a commit to whitby3001/active_merchant that referenced this pull request Sep 3, 2019
Merchant may define custom optional fields in their Paymentez account, to
send with debit requests under extra_params object.

ENE-80

Unit:
19 tests, 77 assertions, 0 failures, 0 errors, 0 pendings, 0 omissions, 0 notifications

Remote:
20 tests, 47 assertions, 2 failures, 0 errors, 0 pendings, 0 omissions, 0 notifications
Failures unrelated to this change, have to do with country-specific allowances for
partial capture/ refund.

Closes activemerchant#3095
@molbrown molbrown deleted the ENE-80_paymentez branch July 1, 2020 18:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants