Discussions
Unable to test authentication
Hi,
I followed all the steps and code snippets for getting the key ID and composing the authentication header, but when I try to test it (last step "Test the Authentication" I get code 34 "Unauthorized" as response. What does it mean?
I use Python, this is the code I'm using to test (tokens and key IDs are only from staging): <https://pastebin.com/zrUBYiBz>
Thanks
Posted by Emanuele 2 days ago
Satispay (Staging) not available
Hello,
I can’t access anymore to the staging app. I tried reinstalling it but nothing has changed. How can I fix this issue?
Thanks
Posted by Giulio 5 days ago
DNS problem on staging.satispay.com
Ciao a tutti.
Provando ad effettuare un pagamento, usando il QCode che mi viene mostrato a video dal sito del merchant, dal app riscontro questo problema:
![](https://files.readme.io/d180034908333e29436f2cfac8f4490cea9be9cf3edab77acccd40cbfda88846-image.png)
Mentre usando il numero cellulare, il pagamento va a buon fine.
E' normale? Problema noto?
Grazie
Posted by Andrea 7 days ago
App for test payments
Hello, i am integrating satispay into our solution; currently i have a sandbox account, the authentication is ok and i am writing code for the endpoints and testing it, so far no problem.
Now i have to make test payments to verify the flows, should i use the "normal" play store Satispay app or is there a separate test app for testing purpose?
Thank you
Posted by Luigi 17 days ago
Prestashop addon - Marketplace vs Github
Hi,
In the documentation page for Prestashop, there is [this marketplace addon](https://addons.prestashop.com/en/payment/22827-satispay.html) linked. However, I found [this github project](https://github.com/satispay/prestashop-plugin) that seems to refer to the same plugin, even the same version. What are the differences (if any) between the two?
Posted by Andrea Dragotta 2 months ago
Digest doesn't match error
Hi,
i'm trying use satispay staging API, i followed the guides and i create this CURL
curl --location '<https://staging.authservices.satispay.com/g_business/v1/payments'>
--header 'content-type: application/json'
--header 'host: staging.authservices.satispay.com'
--header 'date: Wed, 10 Jul 2024 13:53:39 GMT'
--header 'digest: SHA-256=jWjmI6cdwHPUs3tNU1lXxaKxar4Kee+elPnr1dj2Pqg='
--header 'Authorization: Signature keyId="p3gko1cpv4ffl747u8er772jn4uk1qktr8o5k485fd09gff6ngoacp5eql6cd1fbfdn0kvkbli5maso7io5up8pevb3a12qhm4bn38mjgku254tglkt516rfn4kfj8rluc7l3f1ig2pj11u5kpc0mc1k2qp61llvg7q78ljn2q58k8e5m3ot96e3ftd9mllgghpljds8", algorithm="rsa-sha256", headers="(request-target) host date digest", signature="ixS7dKlEWigZ97LF3To6GbcQUgFWIFNSuSpwEcRqEVcK8ONDPPVv30wVblRgY4qbUmm0uyDm8FhTbtr9LU+EvgQaEN8uofu/LDwCLXIHdPSrk3fmNvAkn7BKjYGsVTJ1asqeT7TYCpptLYpfo0h8H3jDrnrN7I9sKSdST/yrwkdcO6As6ArT8uOMNLST/fhuC2zPBlsNQLEWm2wbbHBgT94Tf6UsRsngw+yV2YxYZ2ceYwal27sVi0S6qtsF5oVCjpe1ZGbkxnioQ1leIL3wJkvXEckfo/RAYgapFJuarleL8hlRd1JZdieVgAmIpy+N5hyI8g/KrKmPM9BJAYHqqHgj6GVQZo/nH1ErSw9rxUPuAEb54tS+V3TkXSic3snDCNNviQtqsZa49AbfJx4MLfN0pseWpFrPsclFb7nlGOVrLsnapd6bVMkHCjOUjaRH6ntof/MghkAq0sKmqE5x9txs/ntSitMY1pFwpNv/ojU42XjF2p+9OEgiMzoJLdV0ov+086Z/gQF7vrEU36dMGWkPQ+PYtHj515FGbvcv/c1UkaEJkPKNFdV+VRWWgh6iJIndIWXRK+PPufl6wnWhREnlQJmJIERlSoNEDUS7RIZ4YNT5Qavi7xkcp2B7yoUZOHGtHJ8c6AjpVY1HBszhCDakfWtdPc9PWcA8ak6WBoM="'
--data '{
"flow": "MATCH_CODE",
"amount_unit": 100,
"currency": "EUR"
}'
but i have this error:
{
"code": 52,
"message": "Digest doesn't match",
"wlt": "CEPCNseA"
}
I checked the digest (<https://satispay-signature-test.glitch.me/digest>) and message (<https://satispay-signature-test.glitch.me/signature>) and all is correct.
What's wrong?
Posted by Andrea 2 months ago
Integrare satispay in webapp scritta in vue.js
Salve,
come da oggetto volevo sapere gentilmente come integrare satispay in un app scritta in vue.js.
Sperando in una risposta celere, grazie e buona giornata
Aniello.
Posted by Aniello 2 months ago
Redirect to NON-default browser on mobile
Hi Support Team,
We have encountered an issue with Satispay payments on our website. After investigating, we discovered that the problem occurs when users are on a smartphone and use a non-default browser to make the purchase. For example, if Safari is the default browser but the user makes the purchase using Chrome, after completing the payment, Satispay redirects them back to the default browser (Safari). This redirection causes a problem because the default browser does not have the correct cookies to update the order status, resulting in the order appearing as incomplete.
To illustrate, an order might be initiated from a browser with the user agent string:
Mozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.0.0 Mobile Safari/537.36
But after payment, the user is redirected to:
Mozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/112.0.5615.136 Mobile Safari/537.36 XiaoMi/MiuiBrowser/14.13.0-gn
This change in browser environment means the cookies needed to update the order status are not present, causing the order to appear as incomplete.
Additionally, the same issue occurs if the user starts the order in an incognito session. After payment, they are redirected to the normal version of the same browser. This again results in the cookies not being transferred, leading to the same problem with the order status.
Could you please assist us in finding a solution to handle this redirection correctly and ensure that the order status updates appropriately regardless of the browser used?
Thank you for your help.
Best regards,
Andrea
Posted by Andrej Pandovich 3 months ago
Overcapture of authorized funds
So I'm planning an integration with a funds preauthorization (using the flow "PRE_AUTHORIZED_FUND_LOCK").
For all other payment methods I support I have a way to increase the preauthorized funds if I need to (i.e. I preauthorized 10 euros, but after a while I may need to get more).
Is there a way to do so using this flow I'm using or am I missing something? Thanks in advance.
Posted by Davide 3 months ago
Blocked when changed to production account
hello, I have a developed an application that create a payment order. When using staging host everything is working fine. The same application was working when I switched to satispay production host. However, after some tests, it is not working anymore in may deployed application and I'm able to call it only in my local environment.
Posted by Giulio 4 months ago