diff --git a/src/Config/CheckoutCod.php b/src/Config/CheckoutCod.php index cd0c302..f0f6a40 100644 --- a/src/Config/CheckoutCod.php +++ b/src/Config/CheckoutCod.php @@ -17,12 +17,12 @@ * * The version of the package */ - 'version' => '1.0.8', + 'version' => '1.1.1', /** * * The version number of the package */ - 'versionNum' => '108', + 'versionNum' => '111', /** * diff --git a/src/Http/Controllers/Api/V1/OrdersController.php b/src/Http/Controllers/Api/V1/OrdersController.php index 29c6dff..799ffa5 100644 --- a/src/Http/Controllers/Api/V1/OrdersController.php +++ b/src/Http/Controllers/Api/V1/OrdersController.php @@ -257,7 +257,7 @@ public function create(Request $request) { $this->orderRepository->update(['status' => 'processing'], $order->id); // add the ip address and ip country to order - $order_cod = new \NexaMerchant\CheckoutCod\Models\OrderCod(); + $order_cod = new \NexaMerchant\CheckoutCod\Models\OrderCods(); $order_cod->order_id = $order->id; $order_cod->ip_address = $request->ip(); $order_cod->ip_country = $ip_country; diff --git a/src/Models/OrderCodProxy.php b/src/Models/OrderCodsProxy.php similarity index 70% rename from src/Models/OrderCodProxy.php rename to src/Models/OrderCodsProxy.php index 61c2077..d421524 100644 --- a/src/Models/OrderCodProxy.php +++ b/src/Models/OrderCodsProxy.php @@ -4,7 +4,7 @@ use Konekt\Concord\Proxies\ModelProxy; -class OrderCodProxy extends ModelProxy +class OrderCodsProxy extends ModelProxy { } \ No newline at end of file