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
// Check for status 410 ("Gone - The customer is no longer available").
if ( 410 === $error->get_status() ) {
continue;
}
throw$error;
}
if ( null !== $customer ) {
return$customer_id;
}
}
Mollie returns the HTTP 410 'Gone' status if a customer does not exist anymore and we then ignore this customer ID. However, we do not store this permanent status and next time we test again for the existence of this customer ID.
I just ran into timeout issues in a development environment because of this. Manually truncating the wp_pronamic_pay_mollie_* database tables resolved the issue.
On payment start, we try to use the first existing Mollie customer ID:
wp-pronamic-pay-mollie/src/Gateway.php
Lines 1748 to 1754 in 1948c7f
wp-pronamic-pay-mollie/src/Gateway.php
Lines 1835 to 1855 in 1948c7f
Mollie returns the HTTP 410 'Gone' status if a customer does not exist anymore and we then ignore this customer ID. However, we do not store this permanent status and next time we test again for the existence of this customer ID.
I just ran into timeout issues in a development environment because of this. Manually truncating the
wp_pronamic_pay_mollie_*
database tables resolved the issue.CC @remcotolsma
The text was updated successfully, but these errors were encountered: