The Pronamic Pay plugin allows you to easily accept payments with payment methods like credit card, iDEAL, Bancontact and Sofort through a variety of payment providers on your WordPress website.
Most of our error handling has been updated to use exceptions instead. The set_error() method is still in use in some gateway get_issuers() and get_available_payment_methods(), would be nice to use exceptions also for these cases.
In the core gateway, we have methods
get_error()
,set_error()
andhas_error()
which use aWP_Error
object for error handling:Most of our error handling has been updated to use exceptions instead. The
set_error()
method is still in use in some gatewayget_issuers()
andget_available_payment_methods()
, would be nice to use exceptions also for these cases.