-
Notifications
You must be signed in to change notification settings - Fork 140
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
Add fraud params to Apple-Pay token #915
Conversation
1badb9c
to
840de53
Compare
4572a05
to
0960bdf
Compare
lib/recurly/apple-pay/apple-pay.js
Outdated
...transformAddress(billingContact, { to: 'address', except: ['emailAddress'] }), | ||
}; | ||
} | ||
} | ||
|
||
function combinedInputs () { | ||
if (this.config.form) { |
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.
I think it would be appropriate to parameterize this
since this function isn't a member of the instance.
function combinedInputs(recurly) {
if (recurly.config.form) {
// ...
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.
You might want to do an early return for simplification purposes:
if (!this.config.form) {
return;
}
c79779f
to
801a24e
Compare
[Fix] lint error && no fraud object on null [Test] adding tests for apple-pay fraud [TEST] update mocha test for apple-pay fraud [REFACTOR] fix combinedInputs to early return with no config.form [update] remove Electron from unit tests Upgrades e2e visual regression test infrastructure - Updates mobile browser versions - Updates baseline screenshots Removes Electron test structures - Why: complexity in maintenance and comparative Chrome coverage [Fix] fix token js
801a24e
to
9f05d99
Compare
Add fraud params to Apple-Pay token [UPDATE] ideal sdk for adyen
[Full Changelog](v4.32.6...v4.33.0) **Merged Pull Requests** - Add fraud params to Apple-Pay token [#915](#915) ([jsanderson1130](https://github.com/jsanderson1130)) - fix: added `payPalComplete` property to PayPal `DirectConfig` type de… [#913](#913) ([magicink](https://github.com/magicink)) **Closed Issues** - Default Card Element does not work, fails to include data-recurly selectors. [#914](#914) ##### Minified MD5 Checksum ``` b7ff83bcf7030c09b9ac8e7b2c77fb1c ./build/recurly.min.js ``` ##### [SRI Hash](https://www.srihash.org/) ``` EY73V4dl44DtS6InVqoLODw59zrrx1hLAUCZtUIf7pXxnxuqTbdEPJqu0JVulSrY ```
Update Apple-Pay token params to allow for
fraud
parameters.