mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-09-12 01:18:39 +08:00
🔥 Simplify code, remove console output
This commit is contained in:
parent
f2301a4674
commit
ac98600b8f
5 changed files with 8 additions and 26 deletions
|
@ -39,8 +39,7 @@ class BaseHandler {
|
|||
data.total,
|
||||
data.shipping_fee,
|
||||
data.currency_code,
|
||||
data.country_code,
|
||||
true
|
||||
data.country_code
|
||||
);
|
||||
|
||||
resolve( transaction );
|
||||
|
|
|
@ -19,8 +19,7 @@ class PayNowHandler extends BaseHandler {
|
|||
data.total,
|
||||
data.shipping_fee,
|
||||
data.currency_code,
|
||||
data.country_code,
|
||||
true
|
||||
data.country_code
|
||||
);
|
||||
|
||||
resolve( transaction );
|
||||
|
|
|
@ -47,8 +47,7 @@ class SingleProductHandler extends BaseHandler {
|
|||
data.total,
|
||||
data.shipping_fee,
|
||||
data.currency_code,
|
||||
data.country_code,
|
||||
true
|
||||
data.country_code
|
||||
);
|
||||
|
||||
resolve( transaction );
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue