qenta-cee / woocommerce-qcp

QENTA Checkout Page plugin for WooCommerce
https://www.qenta.com
GNU General Public License v2.0
9 stars 7 forks source link

#44 Update save data for failed payment #48

Closed marco-wdcee closed 5 years ago

marco-wdcee commented 5 years ago

Root cause: For an error report the return call does not contain the field 'paymentType' - it is only available for successful/pending payments.

So the solution is a simple pre-check if the field is set before saving it in WooCommerce.