mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-09-06 10:55:00 +08:00
Fix product page orders considering shipping costs
This commit is contained in:
parent
2b9ac48616
commit
5d885809f7
6 changed files with 34 additions and 15 deletions
|
@ -48,6 +48,14 @@ class SingleProductHandler extends BaseHandler {
|
|||
});
|
||||
}
|
||||
|
||||
createOrder() {
|
||||
return this.actionHandler().configuration().createOrder(null, null, {
|
||||
'updateCartOptions': {
|
||||
'keepShipping': true
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
actionHandler() {
|
||||
return new SingleProductActionHandler(
|
||||
this.ppcpConfig,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue