STAFF LOG IN

require 'ChargeBee.php';

ChargeBee_Environment::configure("mytomchat-test","test_5HHl1cTrcmKuvmYteIMQwvJ1aO89M5Fe");

$result = ChargeBee_Addon::create(array(

  "id" => "sms_pack",

  "name" => "Sms Pack",

  "invoiceName" => "sample data pack",

  "chargeType" => "recurring",

  "price" => 200,

  "period" => 1,

  "periodUnit" => "month",

  "type" => "on_off"));

$addon = $result->addon();

require 'ChargeBee.php'; ChargeBee_Environment::configure("mytomchat-test","test_5HHl1cTrcmKuvmYteIMQwvJ1aO89M5Fe"); $result = ChargeBee_Addon::create(array( "id" => "sms_pack", "name" => "Sms Pack", "invoiceName" => "sample data pack", "chargeType" => "recurring", "price" => 200, "period" => 1, "periodUnit" => "month", "type" => "on_off")); $addon = $result->addon();