mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-09-06 09:08:09 +08:00
Remove merchant-id
parameter on js sdk script
This commit is contained in:
parent
f1555d4db4
commit
8774879b79
1 changed files with 0 additions and 4 deletions
|
@ -740,10 +740,6 @@ class SmartButton implements SmartButtonInterface {
|
||||||
) {
|
) {
|
||||||
$params['buyer-country'] = WC()->customer->get_billing_country();
|
$params['buyer-country'] = WC()->customer->get_billing_country();
|
||||||
}
|
}
|
||||||
$payee = $this->payee_repository->payee();
|
|
||||||
if ( $payee->merchant_id() ) {
|
|
||||||
$params['merchant-id'] = $payee->merchant_id();
|
|
||||||
}
|
|
||||||
$disable_funding = $this->settings->has( 'disable_funding' ) ?
|
$disable_funding = $this->settings->has( 'disable_funding' ) ?
|
||||||
$this->settings->get( 'disable_funding' ) : array();
|
$this->settings->get( 'disable_funding' ) : array();
|
||||||
if ( ! is_checkout() ) {
|
if ( ! is_checkout() ) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue