mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-09-05 08:59:14 +08:00
Ensure item taxes for pui payment (WIP)
This commit is contained in:
parent
f1f3f9dcc3
commit
0018227d88
2 changed files with 73 additions and 4 deletions
|
@ -226,7 +226,7 @@ class PayUponInvoiceGateway extends WC_Payment_Gateway {
|
|||
$payment_source = $this->payment_source_factory->from_wc_order( $wc_order, $birth_date );
|
||||
|
||||
try {
|
||||
$order = $this->order_endpoint->create( array( $purchase_unit ), $payment_source );
|
||||
$order = $this->order_endpoint->create( array( $purchase_unit ), $payment_source, $wc_order );
|
||||
$this->add_paypal_meta( $wc_order, $order, $this->environment );
|
||||
|
||||
as_schedule_single_action(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue