feat: PayPal API退款的custom_id

webht/payment
Lei OT 1 year ago
parent 747b768ccb
commit 60f3c62005

@ -678,6 +678,7 @@ class Index extends CI_Controller {
break;
case 'PAYMENT.CAPTURE.REFUNDED':
$pn_invoice = $post_data->resource->invoice_id;
$pn_custom = $post_data->resource->custom_id;
$pn_mc_currency = $post_data->resource->amount->currency_code;
$pn_mc_gross = '-' . $post_data->resource->amount->value;
$pn_payment_status = 'Refunded';

Loading…
Cancel
Save