Git Product home page Git Product logo

Comments (11)

thomashunziker avatar thomashunziker commented on July 1, 2024

@zehnplus-giannis We have fixed the example.

from php-sdk.

 avatar commented on July 1, 2024

The example now gives me the following error

Wallee\Sdk\ApiException: [99280D14-A860-76C3-4BC5-AA548DCF371B] Error 401 connecting to the API (https://app-wallee.com:443/api/space/search) in Wallee\Sdk\ApiClient->callApi() (Zeile 466 in /vendor/wallee/sdk/lib/ApiClient.php).

from php-sdk.

schurter-wallee avatar schurter-wallee commented on July 1, 2024

This means, you application user in missing the permissions to read the space list.

from php-sdk.

 avatar commented on July 1, 2024

I just assigned my application-user with all possible roles for Account, Subaccount and Space.
Error still appears.
Is there any documentation which guides through this whole process in detail?

from php-sdk.

bummzack avatar bummzack commented on July 1, 2024

Having the same issue. @zehnplus-giannis were you able to solve this?

from php-sdk.

vttn avatar vttn commented on July 1, 2024

@bummzack

Can you please open a new ticket and paste your error information in the new ticket.

Regards,

@vttn

from php-sdk.

bummzack avatar bummzack commented on July 1, 2024

@vttn It's the same issue as this… trying to run the transaction example (second code example from here: https://github.com/wallee-payment/php-sdk/#configuring-a-service) and getting the following:

Uncaught Wallee\Sdk\ApiException: Error 401 connecting to the API (https://app-wallee.com:443/api/transaction/create?spaceId=XYZ) : Error // We need to force a reload when the back button is used in the browser. window.addEventListener( "popstate", function ( event ) { window.location.reload(true); }); Ooops! Sorry, something went wrong! Error code: 401 Please contact us and we will try to solve this issue. 

(I replaced the spaceID with XYZ)

from php-sdk.

vttn avatar vttn commented on July 1, 2024

Hello @bummzack

It is most likely that your user credentials are not setup properly. You can also review our tests here https://github.com/wallee-payment/php-sdk/tree/master/test .

If this issue is still occurring for you, please reach out to our support https://wallee.com/support.html .

Regards,

@vttn

from php-sdk.

bummzack avatar bummzack commented on July 1, 2024

Hi @vttn
Thanks for your reply.
I'm trying to integrate Postfinance Checkout, maybe it's got something to do with that?
It's also not very helpful that the link that should point to "Learn how to authenticate and connect to our web service." is returning a 404:
https://checkout.postfinance.ch/doc/payment/doc/api/web-service#_authentication
https://app-wallee.com/doc/payment/doc/api/web-service#_authentication

from php-sdk.

thomashunziker avatar thomashunziker commented on July 1, 2024

Dear Roman,

Please get in contact with the guys from PostFinance checkout regarding this issue. They might be able to help you with this. The correct URL is: https://checkout.postfinance.ch/doc/api/web-service#_authentication

Regards,
Thomas

from php-sdk.

bummzack avatar bummzack commented on July 1, 2024

For anybody having this issue with the Postfinance Checkout, just use https://github.com/pfpayments/php-sdk instead.

from php-sdk.

Related Issues (9)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.