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

Dependency @square/web-payments-sdk-types is out of date #239

Closed
ntheile opened this issue May 16, 2024 · 1 comment
Closed

Dependency @square/web-payments-sdk-types is out of date #239

ntheile opened this issue May 16, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@ntheile
Copy link

ntheile commented May 16, 2024

Is your feature request related to a problem? Please describe.
The dependency on @square/web-payments-sdk-types is out of date, using an old version v1.1.1 here https://github.com/square/web-sdk/blob/main/package.json#L143 . This version does not include the new types for ACH, specifically the new AchChargeTokenOptions required by June 20th (per email from Square)

Describe the solution you'd like
I need the npm package updated to use the latest types in v1.57.0 (or latest version with the type AchChargeTokenOptions) from here https://www.npmjs.com/package/@square/web-payments-sdk-types/v/1.57.0

Additional context
I received an email from Square stating that I need to update the ACH payment to add two new parameters to ach.tokenize() before June 20, 2024, to continue processing ACH payments:

Intent: You must specify your intention to charge the buyer. 
Total: You must specify the amount and currency for the charge.

This is also a prerequisite before the square react lib can be updated https://github.com/weareseeed/react-square-web-payments-sdk

@ntheile ntheile added the enhancement New feature or request label May 16, 2024
@ntheile ntheile changed the title @square/web-payments-sdk-types dependency is are out of date Dependency @square/web-payments-sdk-types is out of date May 16, 2024
@mhang-square
Copy link
Contributor

@square/web-payments-sdk-types updated to v1.58.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants