Please Log in to join the conversation.
No, that's not the case with this IPN error.It's only marked as completed if Stripe reports that the charge is completed.
Please Log in to join the conversation.
$invoiceId = Get::get( $postdata, 'data.object.id', null, GetterInterface::STRING );
$subscriptionId = Get::get( $postdata, 'data.object.subscription', null, GetterInterface::STRING );
if ( ! $subscriptionId ) {
$transactionId = Get::get( $postdata, 'data.object.charge', null, GetterInterface::STRING );
}
$invoiceId = Get::get( $postdata, 'data.object.id', null, GetterInterface::STRING );
$transactionId = Get::get( $postdata, 'data.object.charge', null, GetterInterface::STRING );
$subscriptionId = Get::get( $postdata, 'data.object.subscription', null, GetterInterface::STRING );
if ( ! $transactionId ) {
return null; // Ignore invoices without a charge
}
Please Log in to join the conversation.
It's only marked as completed if Stripe reports that the charge is completed
Please Log in to join the conversation.
Please Log in to join the conversation.
Please Log in to join the conversation.