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

JS console deprecation warning #42

Open
gilesbennett opened this issue Jun 13, 2023 · 0 comments
Open

JS console deprecation warning #42

gilesbennett opened this issue Jun 13, 2023 · 0 comments

Comments

@gilesbennett
Copy link

Warning is :

sdk.js:462 The configuration property 'amount' is deprecated. Please use the 'showAmount' configuration. The checkout amount will be fetched from our API using the given checkoutId

Script is being included with :

<script src="https://gateway.sumup.com/gateway/ecom/card/v2/sdk.js"></script>

In passing, the returns from the API are pretty much useless. Payments are failing, but with absolutely no indication being returned as to why.

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

No branches or pull requests

1 participant