Discussions
Ordini in attesa di pagamento / annullati woocommerce
Buongiorno, da qualche giorno ho un malfunzionamento nel plugin woocommerce satispay. A seguito di una migrazione di hosting, il plugin lato utente funziona correttamente e i pagamenti vengono processati normalmente, ma l'ordine lato backend non va a buon fine: resta in stato "in attesa di pagamento" per qualche ora finché non diventa annullato.
Ho provato a reimpostare il plugin, controllare l'attivazione del cron, disattivato tutti i plugin superflui del sito che potevano bloccare con firewall la risposta del pagamento, e segnalato al mio hosting questo problema.
Insieme all'aiuto dell'hosting e di un tecnico abbiamo individuato l'errore
[Wed May 03 09:08:52.138100 2023] [access_compat:error] [pid 1164511:tid 22907627403008] [client 34.249.61.43:5744] AH01797: client denied by server configuration: /home/khkjuvig/public_html/wc-api
[Wed May 03 09:08:52.138394 2023] [access_compat:error] [pid 1164511:tid 22907627403008] [client 34.249.61.43:5744] AH01797: client denied by server configuration: /home/khkjuvig/public_html/403.shtml
Quando viene effettuato un pagamento con Satispay. L'hosting mi ha consigliato di disattivare ModSecurity che poteva essere la causa del problema, ma non è stato risolutivo.
Potreste aiutarmi a risolvere?
L'hosting mi chiede inoltre di sapere lo user agent utilizzato da voi per poter effettuare altri controlli, è un'informazione che potete fornirmi?
Posted by Francesco Rossi 12 months ago
Api cost
I wish to integrate Satispay on my application and I wish to know the cost (in terms of dollars or euro) in order to use the API.
More in particular:
Are there any Terms of Service? limited calls per day, per user, etc.
Are there any costs to bear? What is the pricing policy?
Posted by renna about 1 year ago
Su One-off Web-button custom UX, ogni tanto, sembra che "completed" non venga eseguita
Buongiorno,
Ho implementato su un sito la modalità One-off Web-button con una UX custom, quindi con "var satispay = SatispayWebButton.configure({...})"
Il flusso è abbastanza semplice: al momento del pagamento, salvo l'ordine sul database con stato "non pagato", quindi procedo:
1. alla creazione del paymentId
2. all'apertura della popup di Satispay
3. se l'ordine va a buon fine, al cambio di status dell'ordine sul db da "non pagato" a "pagato"
Il merchant lamenta che, ogni tanto, alcuni ordini, pur pagati, non passano allo status "pagato" e quindi deve controllarli e cambiare manualmente lo status. Ribadisco che il problema si verifica sporadicamente: la maggior parte degli ordini viene correttamente segnato come "pagato", quindi lo script funziona.
Ho messo dei log sia nella fase di creazione del paymentId (che va sempre a buon fine, ottengo sempre una risposta valida) che nella callback "completed": in effetti, nei casi segnalati dal cliente, i log qui non si creano proprio, come se "completed" non venisse eseguita. Eppure, come detto, il pagamento avviene.
Cosa può essere successo in questi casi? C'è qualcosa che mi sfugge ma non riesco a capire cosa
Grazie in anticipo per le risposte
Posted by Ivan about 1 year ago
Cannot find shop payment list also with web site
Dear everyone,
I have one problem , because yesterday i tried to pay 1 euro to my shop satispay account, and in my phone i can find the record of payment, but in the web site there's nothing. Same thing with the api i use, i finally can get response :{"has_more":false,"data":[]}. it is like web site , there's no list of payment.
Thanks in advance and best regards
Posted by SUN AZZURRA about 1 year ago
StatusCode: 403, ReasonPhrase: 'Forbidden' for my request "https://authservices.satispay.com/g_business/v1/payments?status=ACCEPTED&limit=20"
Dear everyone,
im new in satispay, so i don't know if i have lost some step
(request-target): get https://authservices.satispay.com/g_business/v1/payments?status=ACCEPTED&limit=20
host: authservices.satispay.com
date: Tue, 14 Mar 2023 09:35:34 GMT
digest: SHA-256=47DEQpj8HBSa+/TImW+5JCeuQeRkm5NMpJWZG3hSuFU=
my sign: UmjE0wIjuCBrQExCtWnAd5Q+a3/ouo6UpvlAPlRvvxvBin+yLCinY//8AdOwMmo/FO5P3Oeutj3WhVd+Y5aSjuGfd+iTnOy4UJGfKCWz6MpJ7OECHafL5JvGja0T71fnvNrPbcEVnxnIsJL8RlunfXW8kB1b9QgqJjcKThqRGYN0KbYUcJtmS0MsADkLLNDj87qdIYuTrOuDwfWHPvCMCcSsF20a2bZCPqFJ9/z2BfLrCMeF8l6IXD4uCiWCfWSKZIfsYYAMNOhwiPGSRwiMWxW/UFmbFFOT8omTIcmTGRJBE6rMy3f1+EDtIXkoG4tjqVWbQk8H33/7nfOfvqalyzgjK2SHsN19olIZI3CNFbLWVyIGyfaLPlFsnEgVZqzmTtnB5TcmhcGxtYt4tC+WFFv0NzeGwZzB1dY6Kf7/55fTFtWKvY8/8AixDW2MhoUMNNEb2Tp3OU3TPfPV/Hw4f527koM0PztOx4XC3DGItX+jWJGp4aYF/Zfe4OGsLnfkM41ahgX+sp9xkDC+Amczyon+s1Y28SBsD0UE8PcINk9pto3gWhSQnflKjlbvKUdXykmU+FKVQTHT2hb8g7H4QVOD0Ft1WlGUcZBVleCTy5ejnmL1V1l8zEd9KruyPZsHKH2bVYDqcEVm0zBq0VbjsaOT7GRF/k26N6pGZNmPUEI=
my authorization:
Authorization:Signature keyId ="k04rghfef4avi2hshl08h0sgfjhmmcqh28p4o1m9k920rpjg85kt00sil6fdfgqjsjdk62a0m5m6fliqtqn9e1n31ag0s6cs6u4n5poqeu9do556c086qlbimc9eqavtk5srghsbejj4423j72noanfnceplvjeacat1nk0heutekogahgrsk2ivl5hog5ffq2peqim4", algorithm="rsa-sha256", headers="(request-target) host date digest", signature="UmjE0wIjuCBrQExCtWnAd5Q+a3/ouo6UpvlAPlRvvxvBin+yLCinY//8AdOwMmo/FO5P3Oeutj3WhVd+Y5aSjuGfd+iTnOy4UJGfKCWz6MpJ7OECHafL5JvGja0T71fnvNrPbcEVnxnIsJL8RlunfXW8kB1b9QgqJjcKThqRGYN0KbYUcJtmS0MsADkLLNDj87qdIYuTrOuDwfWHPvCMCcSsF20a2bZCPqFJ9/z2BfLrCMeF8l6IXD4uCiWCfWSKZIfsYYAMNOhwiPGSRwiMWxW/UFmbFFOT8omTIcmTGRJBE6rMy3f1+EDtIXkoG4tjqVWbQk8H33/7nfOfvqalyzgjK2SHsN19olIZI3CNFbLWVyIGyfaLPlFsnEgVZqzmTtnB5TcmhcGxtYt4tC+WFFv0NzeGwZzB1dY6Kf7/55fTFtWKvY8/8AixDW2MhoUMNNEb2Tp3OU3TPfPV/Hw4f527koM0PztOx4XC3DGItX+jWJGp4aYF/Zfe4OGsLnfkM41ahgX+sp9xkDC+Amczyon+s1Y28SBsD0UE8PcINk9pto3gWhSQnflKjlbvKUdXykmU+FKVQTHT2hb8g7H4QVOD0Ft1WlGUcZBVleCTy5ejnmL1V1l8zEd9KruyPZsHKH2bVYDqcEVm0zBq0VbjsaOT7GRF/k26N6pGZNmPUEI="
and here the response:
StatusCode: 403, ReasonPhrase: 'Forbidden', Version: 1.1, Content: System.Net.Http.StreamContent, Headers:
{
x-satispay-cid: UxwuDPJ2
Digest: SHA-256=TC4Z8LCF1P4OIEFa7pdWnuGpqyDHwGGSH0Y2/+yZpI0=
Date: Tue, 14 Mar 2023 09:35:31 GMT
Server: Apache
Content-Length: 50
Content-Type: application/json
}
Thanks in advance
Posted by SUN AZZURRA about 1 year ago
Obtain the KeyId
Hi, in "Obtain the KeyId", i read:
"token string required -> Activation code that can be generated from the Satispay Dashboard (or provided manually for Sandbox account)".
In Sandbox account where can i find the Activation code ? Or how can i obtain it?
Posted by Giuseppe Peschiera about 1 year ago
Woocommerce: dopo l’avvenuto pagamento lo stato dell’ordine rimane “in attesa di pagamento”
Buongiorno,
avrei bisogno di un aiuto per un problema con i pagamenti satispay su woocommerce.
Dopo l’avvenuto pagamento da parte del cliente lo stato dell’ordine su woocommerce rimane “in attesa di pagamento” e quindi non ricevo avviso dell'ordine ricevuto.
Questo non avviene con altri tipi di pagamento ma solo con i pagamenti satispay.
Avreste qualche suggerimento su come poter risolvere il problema?
Grazie
Manuela
Posted by Manuela Remondino about 1 year ago
KeyID smarrito
Buongiorno abbiamo richiesto un KeyId attraverso le API all'indirizzo https://staging.authservices.satispay.com/g_business/v1/authentication_keys ma non lo abbiamo salvato, ora se proviamo a rigenerarlo riceviamo l'errore:
{
"code": 45,
"message": "Forbidden",
"wlt": "YQ0ofmbR"
}
Posted by Luca Calzi about 1 year ago
Inconsistent urlencoding of the redirect_url in the create_payment API
Hi,
I've successfully integrated Satispay as a custom payment gateway in Snipcart, however I'm facing a minor glitch due to a small difference in how urlencoding and decoding are performed by the regular web payment "modal" and the mobile app.
Our redirect_url contains a query parameter (redir) that points to another url with some hash parameters (let's say, https://foo.bar/pippo#/checkout).
When I try and cancel the payment from a regular web browser, I'm redirected to url "A":
A) /payments/satispay/result?external_code=63e4d8454fc6a60293532f41&lang=it&redir=https%3A%2F%2Ffoo.bar%2Fpippo%23%2Fcheckout
The hash parameter is correctly encoded and can be used as part of the "redir" url.
However, if I do the same from a web browser, the Satispay application kicks in and when I cancel the payment I'm being sent to "B":
B) /payments/satispay/result?external_code=63e4414f4fc6a60293532f40&lang=it&redir=https://foo.bar/pippo#/checkout
The hash portion of the url doesn't belong to the redir parameter anymore and this is causing us minor issues.
Can this thing be addressed in future releases of the app?
Thank you
Posted by Andrea Zicchetti about 1 year ago
API Get payment details
Hi.
I try call API Get payment details but I have this error :
{"code":41,"message":"Resource not found","wlt":"DLdPUYQT"}
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("https://authservices.satispay.com/g_business/v1/payments/" + "118482-259559-63E3BB43-26C5")
.get()
.addHeader("accept", "application/json")
.addHeader("x-satispay-response-wait-time", "0")
.build();
Response response = client.newCall(request).execute();
Why?
Is needed authentication ?
Thanks, Giuseppe.
Posted by Andreis giuseppe about 1 year ago