mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-09-05 08:59:14 +08:00
✨ Include numeric shipping cost in ShippingOptions
This commit is contained in:
parent
0b7a91fa35
commit
b380350a75
1 changed files with 1 additions and 0 deletions
|
@ -146,6 +146,7 @@ class UpdatePaymentDataEndpoint {
|
||||||
wc_price( (float) $rate->get_cost(), array( 'currency' => get_woocommerce_currency() ) )
|
wc_price( (float) $rate->get_cost(), array( 'currency' => get_woocommerce_currency() ) )
|
||||||
)
|
)
|
||||||
),
|
),
|
||||||
|
'cost' => $rate->get_cost(),
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue