Skip to content

Most transactions fails when using sdk or REST API v0.2 #39

@multikitty

Description

@multikitty

I created checkout page using Payment Widget sdk like the following:

<div id="sumup-card">

<script src="https://gateway.sumup.com/gateway/ecom/card/v2/sdk.js"></script>
<script>
var sumupcard = SumUpCard.mount({
    checkoutId: checkoutId,
    showAmount: true,
    showFooter: true,
    locale: "de-DE",
    onResponse: function(type, body) {
        if (type=="success") {
            console.log(body);
        }
    },
});
</script>

When I click the submit button, the request is sent to https://api.sumup.com/v0.2/checkouts/:id
image
Transactions almost always fail. Most transactions fail. I wonder if v0.2 is the reason.
So I tried to process checkouts via REST API v0.2 instead of v0.1.
The result is same as sdk. But the transactions always succeed via v0.1.
Who can let me know the url of sumup-card widget sdk file using v0.1 if it exist?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions