sumup / sumup-ios-url-scheme

URL scheme documentation and sample app for iOS
17 stars 5 forks source link

need help for sumup url-scheme #21

Open tolo27 opened 2 weeks ago

tolo27 commented 2 weeks ago

I am currently writing a cash register interface and am struggling to integrate the Sumup interface into my application.

Here is the call of the sumup interface based on a url-scheme:

const sumUpCartURL = sumupmerchant://pay/1.0?amount=${formattedAmount}&currency=EUR&paymentType=card_reader&affiliate-key=????????????????; window.location.href = sumUpCartURL;

The URL works as long as sumup is started and the amount is transferred. The query for the payment method should actually have been completed by "&paymentType=card_reader", but the query still appears. If "card reader" is then selected for this query, an error message "server error" appears.

If the amount is entered manually in the app, this query also appears. If the card reader is then selected, the transfer to the card reader works without any problems.

Can someone help me find the error?