Remove merchant-id parameter on js sdk script

This commit is contained in:
dinamiko 2021-06-16 15:54:45 +02:00
parent f1555d4db4
commit 8774879b79

View file

@ -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() ) {