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

chore: convert Google Pay element to a class from function #892

Merged
merged 2 commits into from
Aug 15, 2024

Conversation

cbarton
Copy link
Member

@cbarton cbarton commented Aug 14, 2024

To better align the Google Pay element with the Apple Pay element, this refactors it to be a concrete class instead of a function. This will help in the future when we need to specialize its functionality for a different implementation of collecting the payment information. Adding Braintree support is an example of that specialization.

To better align the Google Pay element with the Apple Pay element, this
refactors it to be a concrete class instead of a function. This will
help in the future when we need to specialize its functionality for a
different implementation of collecting the payment information. Adding
Braintree support is an example of that specialization.
@chrissrogers chrissrogers merged commit bca8e4f into master Aug 15, 2024
49 checks passed
@chrissrogers chrissrogers deleted the google-pay-class branch August 15, 2024 18:04
recurly-integrations pushed a commit that referenced this pull request Aug 26, 2024
[Full Changelog](v4.29.2...v4.29.3)

**Merged Pull Requests**

- Ensures setup fees are not applied to subscriptions with quantity = 0 [#893](#893) ([chrissrogers](https://github.com/chrissrogers))
- chore: convert Google Pay element to a class from function [#892](#892) ([cbarton](https://github.com/cbarton))
- chore: extract loading braintree libraries to util/braintree [#891](#891) ([cbarton](https://github.com/cbarton))

##### Minified MD5 Checksum
```
3aedc5c6a5c87365133c8b23feb32f0c ./build/recurly.min.js
```
##### [SRI Hash](https://www.srihash.org/)
```
lhLNZJ447F9CH0rGPYMNS3NV3Nwnn4Y3oaUsbTa3cAQ/J7XDX76JAa2Htis2bEro
```
recurly-integrations pushed a commit that referenced this pull request Aug 26, 2024
[Full Changelog](v4.29.2...v4.29.4)

**Merged Pull Requests**

- Ensures addons are not included in subscriptions with quantity = 0 [#895](#895) ([chrissrogers](https://github.com/chrissrogers))
- Ensures setup fees are not applied to subscriptions with quantity = 0 [#893](#893) ([chrissrogers](https://github.com/chrissrogers))
- chore: convert Google Pay element to a class from function [#892](#892) ([cbarton](https://github.com/cbarton))
- chore: extract loading braintree libraries to util/braintree [#891](#891) ([cbarton](https://github.com/cbarton))

##### Minified MD5 Checksum
```
42050ba64172af4e291a37545fa905de ./build/recurly.min.js
```
##### [SRI Hash](https://www.srihash.org/)
```
OHnJ0LXZyg2EpXal64oDpbfmLPrToCaWpN792/a3zsj6my6ILT6bd9k7NVaZFxge
```
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