Make EasyPost USPS account configurable
This commit is contained in:
parent
7a168cb828
commit
b7d8c60ac3
@ -55,7 +55,7 @@ try {
|
|||||||
"weight" => 3.5
|
"weight" => 3.5
|
||||||
]);
|
]);
|
||||||
|
|
||||||
$shipmentinfo["carrier_accounts"] = ["ca_fe31a7e4fcf24438b8cdfb74541c7094"]; // USPS
|
$shipmentinfo["carrier_accounts"] = [$_SETTINGS["easypost_usps_account"]]; // USPS
|
||||||
|
|
||||||
if ($_REQUEST["postagetype"] == "certified") {
|
if ($_REQUEST["postagetype"] == "certified") {
|
||||||
$shipmentinfo["options"]["certified_mail"] = true;
|
$shipmentinfo["options"]["certified_mail"] = true;
|
||||||
|
@ -4,6 +4,7 @@ $_SETTINGS = [
|
|||||||
"debug" => false,
|
"debug" => false,
|
||||||
"easypost_key" => "",
|
"easypost_key" => "",
|
||||||
"stripe_sk" => "",
|
"stripe_sk" => "",
|
||||||
|
"easypost_usps_account" => "ca_9...b5",
|
||||||
"email" => [
|
"email" => [
|
||||||
"server" => "mail.netsyms.net",
|
"server" => "mail.netsyms.net",
|
||||||
"port" => 587,
|
"port" => 587,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user