-
While i am implementing my custom checkout flow, when I call the following code, I've got this error
I've done the integration from the dashboard as follows. Would like to check if I should include any client secret anywhere? |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 6 replies
-
Upon debuging this, I think it might be a bug from swell js on handling camelCase. As illustrated by the breakpoint image below, it seems like the response from authorization are camelCase, but the next function is using snakecase instead. |
Beta Was this translation helpful? Give feedback.
-
Experiencing the same issue. Very annoying as I've implemented my app with camelCase but looks like I'll have to go through and change everything to snakecase 😭 |
Beta Was this translation helpful? Give feedback.
-
Try pulling down the latest swell-js (v3.18.3) @y3owk1n The final patch looks slightly different than the original submission, so let us know if it works for you. |
Beta Was this translation helpful? Give feedback.
Try pulling down the latest swell-js (v3.18.3)
https://www.npmjs.com/package/swell-js
@y3owk1n The final patch looks slightly different than the original submission, so let us know if it works for you.