-
Notifications
You must be signed in to change notification settings - Fork 28
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
Can't process transactions using a test profile #220
Comments
I am facing the same problem while trying to integrate SumUp in a flutter app. Tested on a Google Pixel 4a (5G) |
I have the same problem... Thanks for the eventual future hero |
I have the exact same problem. Trying to use SumUP Air device to do some test transaction on custom app but unable to use the test account. The normal account connection works fine. |
I'm facing the same issue on ios-sdk. Did you ever find a solution for this? I tried every combination of using test accounts/real ones during checkout but still no success. I even managed to complete a real transaction with test affiliate keys yesterday... SumUp, something isnt right with the test system .. (@zaid-abdullah) |
Not that this is the solution, but to complete my integration I carried out small transactions of $1.00 and then carried out the refund (credit only). I tried not to carry out too many transactions so as not to get a block on my account, I managed to implement everything and today I am in production.
|
How did you do please ? Does it work with higher prices ? |
I had to do same as what @hiagodotme did. Looks like there is no way to perform test transactions which is shame. so had to do the live transactions to complete testing. I also did few small transactions of £1 and I can confirm that it works fine for larger amount too. My app is being used by users for over 2 weeks now and it works fine. |
So if I have good understood, you had the same problem than us, but you tried with the amount 1 dollar / euro and then it worked after. Even for other amounts. Is that correct? |
Yes that is correct |
I just wanted to share my experiences from the past week. I registered a test account back in January when I started playing around with the ios-sdk since I knew I will have to integrate SumUp into our app in the near future. At that time I could happily create test transactions with the token of a test profile, authenticated through a test oauth2 application and with test affiliate keys setup in the SDK. I faced similar error messages at the beginning but it turned out it was because I didn't have the "payments" scope enabled in my oauth2 app. So I asked the SumUp support team to enable it for me and the error was gone, it was working okay. Now I wanted to do the real implementation of the SumUp integration and therefore I used our company's account to setup a sandbox and a production oauth2 app, affiliate keys, etc. So I created a test profile from the menu on the developer site to setup the sandbox oauth2 app. The strange thing was for me that I could enable the "payments" scope for myself in the test oauth2 app (I didn't have to ask the support to do it for me like in January; I had asked them to do it in our production account but not in the test profile... I don't know if it relates to this issue or not). So I setup everything exactly the same way as I did back in January and I kept receiving these errors when I tried to initiate a test transaction with the ios-sdk. In the end I decided to go back to my "test" setup that I used in January. I created a new oauth2 app in that older test account (since oauth2 callback url was different from the ones I used in the past) and guess what... IT WORKS!! I can create test transactions without receiving the "Internal error" messages... It's still unclear for me why it doesn't work now... |
Hmmm, thanks for sharing this ! As for me, I was in contact with the SumUp support team, they confirmed that we should be able to fully use the SDK with test accounts. |
If anyone reaches this after hours of tearing their hair out - like me - the solution is simple, but not obvious. You need to change the app name. Nothing in the Getting Started docs says this (that I can find anyway) but I guess it makes sense as anyone who's downloaded the SDK will be using com.sumup.sdksampleapp but will have different Affiliate Key (doh!) and therefore the test charge will fail. Interestingly most other things like logging in and connecting to a card reader do work, which makes it even more confusing. SumUp/Github please make this clear!! Also, I can confirm that the SumUp 3G DOES work with the Android SDK (at least the test so far). There is little documentation on this, to the extent that I bought a Solo thinking it was the 3G stopping the test charges working. Nope. SumUp support didn't seem to get the problem and told me "Please note that the 3G card reader is a stand alone device and can not be integrated with other software." Hmmm.... yes, apparently it can.... |
Well, not for me, I can login and everything else, except checkout. |
Yeah I should update what I wrote. I was able to log in etc like you, but not checkout. It seems that by changing the app (package) name, checkout does work, but sadly it then processes test transactions as live, even using the test affiliate key (?!?!). I'm still waiting for a reply from developer support re this (been a week now...) |
Ok guys, I got it working. Steps to check/follow if you're stuck:
|
I'm integrating sum-up in a react native app, I can connect to the card reader, login, open preferences page but when I try to make a transaction I get an error page saying that the transaction have been cancelled because of network problems and a toast with "Internal error".
Calls to
prepareCheckout
seem successful howeverLogcat:
I though maybe something was wrong with my implementation so I tried using the sum up app and got the same results.
Hence the question, is it even possible to really test the transaction part being log with a test profile or should we just push in prod and hope for the best?
Or I am missing something else?
Test device is a One plus Nord running android 12
Card reader firmware: 2.0.0.7
Haven't tested on iOS yet
The text was updated successfully, but these errors were encountered: