Reputation: 1940
i have one e-commerce site made in prestashop and i used the BillSafe as my payment gateway but every time my order is decline when debug the code it give me following response from BIllSafe
[ANSWER] => Array
(
[ack] => OK
[custom_0] => FOOO
[custom_1] => FAAA
[custom_2] => Muhahah
[status] => DECLINED
[declineReason_code] => 101
[declineReason_message] => BillSAFE does not secure this transaction
)
Upvotes: 3
Views: 1156
Reputation: 350
In your output there are some test data to be seen. Try using some real data => Not "FAAA Muhahah" or "Paul Positiv", which is found in some BillSAFE guidelines. The test data does not pass the BillSAFE validation, even though your merchant account has been activated.
I advise you to enable logging. Log file will give you more insight on what is going on.
Upvotes: 1
Reputation: 4860
Your declineReason_code is 101 that means Auth failure
Kindly check you log in credential and API URL.
List of error code and reason.
100 No auth parameter is set
101 Auth failure
102 Not all auth parameters set
103 Invalid merchantId
104 Invalid merchantLicence
105 Invalid applicationSignature
106 Invalid applicationVersion
107 Merchant not found
108 Request to productive system not allowed yet
198 Error during application log
199 Unknown error during authentication
2xx Mit „2“ beginnende Fehler-Codes behandeln Validierungs-Fehler
200 No transaction identifier set
201 Parameter transactionId is invalid
202 Transaction not found
203 Transaction does not belong to merchant
204 OrderNumber matched more than 1 order
215 Ein erforderlicher Parameter wurde nicht angegeben
216 Ein Parameter enthält einen ungültigen Wert
220 Encoding other than UTF8 detected
3xx Mit „3“ beginnende Fehler-Codes behandeln Ausführungs-Fehler
301 An execution error occurred
302 Transaction has a wrong status for this method
303 Customer has not yet completed the transaction
304 Frist für den Aufruf der Operation ist abgelaufen
305 No data to return
306 Transaction already has customer payments
399 Internal error in method
8xx Mit „8“ beginnende Fehler-Codes behandeln API spezifische Fehler
801 No Service found
802 No method set
803 Invalid method set
804 Invalid request
999 Unbekannter Fehler
Sandbox
Payment Gateway : https://sandbox-payment.billsafe.de/V200
NVP API-Server : https://sandbox-nvp.billsafe.de/V208
Live
Payment Gateway : https://payment.billsafe.de/V200
NVP API-Server : https://nvp.billsafe.de/V208
Upvotes: 1