You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
erstr="Received validation error with errorCode: %s, message: %s, HTTP Code: %s. Please verify the values provided. Please reach out to support@adyen.com if the problem persists, providing the PSP reference: %s"% (response_obj["errorCode"],response_obj["message"], status_code, psp_ref)
490
489
491
-
raiseValueError(erstr)
490
+
raiseAdyenAPIValidationError(erstr)
492
491
elifstatus_code==401:
493
492
erstr="Unable to authenticate with Adyen's Servers. Please verify the credentials set with the Adyen base class. Please reach out to your Adyen Admin if the problem persists"
self.assertRaisesRegexp(ValueError,"Received validation error with errorCode: 167, message: Original pspReference required for this operation, HTTP Code: 422."+
33
+
self.assertRaisesRegexp(Adyen.AdyenAPIValidationError,"Received validation error with errorCode: 167, message: Original pspReference required for this operation, HTTP Code: 422."+
34
34
" Please verify the values provided. Please reach out to support@adyen.com if the problem persists, providing the PSP reference.*",
self.assertRaisesRegexp(ValueError, "Unable to authenticate with Adyen's Servers. Please verify the credentials set with the Adyen base class. Please reach out to your Adyen Admin if the problem persists" , self.ady.payment.authorise, request)
150
+
self.assertRaisesRegexp(Adyen.AdyenAPIAuthenticationError, "Unable to authenticate with Adyen's Servers. Please verify the credentials set with the Adyen base class. Please reach out to your Adyen Admin if the problem persists" , self.ady.payment.authorise, request)
0 commit comments