Discussions

Ask a Question
ANSWERED

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?
ANSWERED

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
ANSWERED

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" }
ANSWERED

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
ANSWERED

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.
ANSWERED

Android SDK: redirect non più funzionante

Buongiorno, sto integrando Satispay in un app Android utilizzando l'SDK ufficiale. Fino alla versione dell'app Satispay Android precedente al 15 dicembre 2022, il passaggio dalla mia app a quella Satispay e redirect alla mia app avveniva in automatico utilizzando lo startActivityForResult e il metodo onActivityResult per recuperare la risposta (come documentato nell'SDK). Con il rilascio della versione Satispay Android del 15 dicembre, dopo il pagamento non viene più effettuato il redirect automatico alla mia app e sono costretto a riaprirla per intercettare l'evento onActivityResult (che risulta funzionante e con la risposta corretta). Non trovo però aggiornamenti all'sdk e non capisco cosa modificare per rendere nuovamente funzionante la riapertura della mia app dopo il pagamento. Spero che qualcuno possa aiutarmi.
ANSWERED

have you planned to expose the amount requests to friends as API

as in the subject have you planned to expose an api to allow money transfer between friends?
ANSWERED

Refund Idempotency

Hi, I am trying to handle idempotency flow in order to avoid multiple refund in case of retry. At this moment if I use the same external_code value, I receive a refund for each CreatePayment I call. Is it possible to avoid this behaviour?
ANSWERED

P2P mobile payment

Hi im having trouble with the P2P app api, im using this call to open the app: satispay://open/contacts/contact?amount={amount_in_cents}&currency={currency}&callback_url={url_to_open_after_payment_completed} but its only opening the contacts and nothing else. I want to make P2P payments with friends inside my android app using this api, but im stuck here. Thanks!
ANSWERED

Error 500 on prestshop order payment

Hi, I have installed and configured PS plugin, everything is fine until I complete the order, when i send order, instead bring me to payment page, it shows an ERROR 550. The order is registered in admin area, customer and merchant cannot receive any email, log is not written... Here the apache log: [Fri Jan 06 12:35:33.840443 2023] [proxy_fcgi:error] [pid 5131:tid 139892839405312] [client 82.215.131.230:44122] AH01071: Got error 'PHP message: PHP Fatal error: Uncaught Error: Call to a member function getName() on null in /var/www/vhosts/mydomain.com/mydomain.com/prd/classes/Mail.php:651\nStack trace:\n#0 /var/www/vhosts/mydomain.com/mydomain.com/prd/classes/Mail.php(401): MailCore::getTemplateBasePath()\n#1 /var/www/vhosts/mydomain.com/mydomain.com/prd/classes/PrestaShopLogger.php(125): MailCore::send()\n#2 /var/www/vhosts/mydomain.com/mydomain.com/prd/classes/PrestaShopLogger.php(172): PrestaShopLoggerCore::sendByMail()\n#3 /var/www/vhosts/mydomain.com/mydomain.com/prd/classes/PaymentModule.php(739): PrestaShopLoggerCore::addLog()\n#4 /var/www/vhosts/mydomain.com/mydomain.com/prd/modules/satispay/controllers/front/payment.php(41): PaymentModuleCore->validateOrder()\n#5 /var/www/vhosts/mydomain.com/mydomain.com/prd/classes/controller/Controller.php(295): SatispayPaymentModuleFrontController->postProcess()\n#6 /var/www/vhosts/mydomain.com/mydomain.com/prd/classes/Dispatcher.php(525): ControllerCore->run()\n#7 /var/www/vhosts/mydomain.com/mydomain.com/prd/in...', referer: https://www.mydomain.com/it/ordine Any suggestion about what to check or configure? Thanks in Advance Matt