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

Add fraud params to Apple-Pay token #915

Merged
merged 1 commit into from
Mar 28, 2025

Conversation

jsanderson1130
Copy link
Contributor

Update Apple-Pay token params to allow for fraud parameters.

@jsanderson1130 jsanderson1130 force-pushed the add-fraud-params-to-apple-pay-token branch 5 times, most recently from 1badb9c to 840de53 Compare February 28, 2025 01:50
@jsanderson1130 jsanderson1130 force-pushed the add-fraud-params-to-apple-pay-token branch from 4572a05 to 0960bdf Compare February 28, 2025 20:55
...transformAddress(billingContact, { to: 'address', except: ['emailAddress'] }),
};
}
}

function combinedInputs () {
if (this.config.form) {
Copy link
Member

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) {
  // ...

Copy link
Member

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;
}

@jsanderson1130 jsanderson1130 force-pushed the add-fraud-params-to-apple-pay-token branch 5 times, most recently from c79779f to 801a24e Compare March 5, 2025 19:06
[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
@jsanderson1130 jsanderson1130 force-pushed the add-fraud-params-to-apple-pay-token branch from 801a24e to 9f05d99 Compare March 26, 2025 20:17
@Patrick-Duvall Patrick-Duvall merged commit 64b1822 into master Mar 28, 2025
47 of 48 checks passed
@Patrick-Duvall Patrick-Duvall deleted the add-fraud-params-to-apple-pay-token branch March 28, 2025 20:35
jsanderson1130 pushed a commit that referenced this pull request Mar 31, 2025
Add fraud params to Apple-Pay token

[UPDATE] ideal sdk for adyen
recurly-integrations pushed a commit that referenced this pull request Mar 31, 2025
[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
```
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.

3 participants