update email
This commit is contained in:
@@ -366,7 +366,7 @@ class PaypalController extends Controller
|
|||||||
}
|
}
|
||||||
|
|
||||||
if ($other_email[0] != null) {
|
if ($other_email[0] != null) {
|
||||||
$other_email = implode(", ", $other_email);
|
$other_email = implode(", ", array_filter($other_email, function($value) { return !is_null($value) && $value !== ''; }));
|
||||||
$email_cc = "orders@crewsportswear.com" . "," . $other_email;
|
$email_cc = "orders@crewsportswear.com" . "," . $other_email;
|
||||||
} else {
|
} else {
|
||||||
$email_cc = "orders@crewsportswear.com";
|
$email_cc = "orders@crewsportswear.com";
|
||||||
|
|||||||
@@ -36,7 +36,7 @@ return [
|
|||||||
|
|
||||||
// sandbox
|
// sandbox
|
||||||
// 'paypal' => [
|
// 'paypal' => [
|
||||||
// 'client_id' => 'AQuz-HKzQiL7FygkG8skSekaWf-RP6Rgj4f1XeX1Ghp86bUFj7tQXVT1xbpluu5_WCGRbQpOVGtlJKVB',
|
// 'client_id' => 'AQuz-HKzQiL7FygkG8skSekaWf-RP6Rgj4f1XeX1Ghp86bUFj7tQXVT1xbpluu5_WCGRbQpOVGtlJKVB',
|
||||||
// 'secret' => 'EJAMKxQsl-mFkL_4J_90cvTamYfcsgswqgIxz9wQPiRAwJ6sy_wNsttMlmrXIpxI96JpYzdMXkLCHAPz'
|
// 'secret' => 'EJAMKxQsl-mFkL_4J_90cvTamYfcsgswqgIxz9wQPiRAwJ6sy_wNsttMlmrXIpxI96JpYzdMXkLCHAPz'
|
||||||
// ],
|
// ],
|
||||||
|
|
||||||
@@ -45,5 +45,4 @@ return [
|
|||||||
'client_id' => 'AUqBUFW5lfyYmrlBtFZA3RNw45sttM3ltbvS_d4qCVBMrkcMG9rEeivGvtNFSy8XTiEp50YyQ6khKxbq',
|
'client_id' => 'AUqBUFW5lfyYmrlBtFZA3RNw45sttM3ltbvS_d4qCVBMrkcMG9rEeivGvtNFSy8XTiEp50YyQ6khKxbq',
|
||||||
'secret' => 'ELlnuiupoFKwGUSc2g5j-sD1EmsvKpdhth1gFV7njpfvyNtKsK8WwIKUMOS0ehJcRatV865eMhfgsnd_'
|
'secret' => 'ELlnuiupoFKwGUSc2g5j-sD1EmsvKpdhth1gFV7njpfvyNtKsK8WwIKUMOS0ehJcRatV865eMhfgsnd_'
|
||||||
],
|
],
|
||||||
|
|
||||||
];
|
];
|
||||||
|
|||||||
Reference in New Issue
Block a user