From 8aff1c4c8ae8e2cd5f90114dcda42b694daad4b4 Mon Sep 17 00:00:00 2001 From: Andrius Putna Date: Mon, 1 Jun 2015 11:19:35 +0300 Subject: [PATCH] Update PayPalEmail.php Add BN code --- src/bb-library/Payment/Adapter/PayPalEmail.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/bb-library/Payment/Adapter/PayPalEmail.php b/src/bb-library/Payment/Adapter/PayPalEmail.php index 2caef9442..a6b2c2eab 100644 --- a/src/bb-library/Payment/Adapter/PayPalEmail.php +++ b/src/bb-library/Payment/Adapter/PayPalEmail.php @@ -383,6 +383,7 @@ class Payment_Adapter_PayPalEmail implements \Box\InjectionAwareInterface $data['last_name'] = $buyer['last_name']; $data['zip'] = $buyer['zip']; $data['state'] = $buyer['state']; + $data['bn'] = "BoxBilling_SP"; return $data; } @@ -402,7 +403,7 @@ class Payment_Adapter_PayPalEmail implements \Box\InjectionAwareInterface $data['cmd'] = '_xclick'; $data['amount'] = $this->moneyFormat($invoice['subtotal'], $invoice['currency']); $data['tax'] = $this->moneyFormat($invoice['tax'], $invoice['currency']); - $data['bn'] = "PP-BuyNowBF"; + $data['bn'] = "BoxBilling_SP"; $data['charset'] = "utf-8"; return $data; }