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

feat: Add support for tokenizing the CVV standalone #902

Merged
merged 2 commits into from
Oct 4, 2024

Conversation

cbarton
Copy link
Member

@cbarton cbarton commented Oct 1, 2024

Allows CardCvvElement to tokenize the CVV by itself for use in CIT where the merchant wants the customer to confirm their CVV before checking out:

const cvvElement = recurly.elements.CardCvvElement({});
cvvElement.attach(document.querySelector('#recurly-elements'));

lib/recurly/element/cvv.js Outdated Show resolved Hide resolved
lib/recurly/element/cvv.js Outdated Show resolved Hide resolved
lib/recurly.js Outdated Show resolved Hide resolved
lib/recurly/token.js Outdated Show resolved Hide resolved
lib/recurly/validate.js Show resolved Hide resolved
packages/public-api-fixture-server/fixtures/field.html.ejs Outdated Show resolved Hide resolved
Allows the `CardCvvElement` to tokenize the CVV by
itself for use in CIT where the merchant wants the customer to confirm
their CVV before checking out:

```js
const cvvElement = recurly.elements.CardCvvElement({});
cvvElement.attach(document.querySelector('#recurly-elements'));
```
The e2e tests can depend on upstream behavior that is not live, so we
should still publish so that upstream behavior can be tested on a build
artifact.
@chrissrogers chrissrogers merged commit a52924d into master Oct 4, 2024
18 of 41 checks passed
@chrissrogers chrissrogers deleted the tokenize-cvv branch October 4, 2024 20:15
recurly-integrations pushed a commit that referenced this pull request Oct 4, 2024
[Full Changelog](v4.31.1...v4.32.0)

**Merged Pull Requests**

- feat: Add support for tokenizing the CVV standalone [#902](#902) ([cbarton](https://github.com/cbarton))

##### Minified MD5 Checksum
```
3ce4b2bdd7fbcf6ad9bf3971332a4041 ./build/recurly.min.js
```
##### [SRI Hash](https://www.srihash.org/)
```
s+lzE/IFnTgcJc54/1oqqMBH5QQFpeF0qtHbeXuWSHEZdwtnstCuNKw7MaJjUz6i
```
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