mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-09-06 13:44:42 +08:00
Fix shipping preference for vaulted card button
This commit is contained in:
parent
fff2570124
commit
9ab091b945
3 changed files with 131 additions and 2 deletions
|
@ -334,7 +334,8 @@ class CreateOrderEndpoint implements EndpointInterface {
|
|||
$shipping_preference = $this->shipping_preference_factory->from_state(
|
||||
$this->purchase_unit,
|
||||
$this->parsed_request_data['context'],
|
||||
WC()->cart
|
||||
WC()->cart,
|
||||
$this->parsed_request_data['funding_source'] ?? ''
|
||||
);
|
||||
|
||||
try {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue