diff --git a/src/pages/checkout/checkout.ts b/src/pages/checkout/checkout.ts index f4de70c..c502cad 100644 --- a/src/pages/checkout/checkout.ts +++ b/src/pages/checkout/checkout.ts @@ -33,9 +33,9 @@ export class Checkout { { method_id: "paypal", method_title: "PayPal" }]; this.WooCommerce = WC({ - url: "http://samarth.southeastasia.cloudapp.azure.com", - consumerKey: "ck_a55da2f5918a380ed8565ba180fb04f4ec67f304", - consumerSecret: "cs_3a5776160220af80f004a6983942fc5e06de22a4" + url: "http://6204dcc0.ngrok.io", + consumerKey: "ck_e1c614aa631216a299e23fe592cdb72669200566", + consumerSecret: "cs_6f8c8055c349d966ece12115671f24ef9af3da63" }); this.storage.get("userLoginInfo").then((userLoginInfo) => { diff --git a/src/pages/home/home.ts b/src/pages/home/home.ts index 55bf9ff..3c0e7f9 100644 --- a/src/pages/home/home.ts +++ b/src/pages/home/home.ts @@ -26,9 +26,9 @@ export class HomePage { this.page = 2; this.WooCommerce = WC({ - url: "http://samarth.southeastasia.cloudapp.azure.com", - consumerKey: "ck_978c83dd335e861046f05d4b5ae020ff00667044", - consumerSecret: "cs_f06f888d7d3d9e02a09b4d40624f222af7b12bc9" + url: "http://6204dcc0.ngrok.io", + consumerKey: "ck_e1c614aa631216a299e23fe592cdb72669200566", + consumerSecret: "cs_6f8c8055c349d966ece12115671f24ef9af3da63" }); this.loadMoreProducts(null); diff --git a/src/pages/menu/menu.ts b/src/pages/menu/menu.ts index 8df752d..0f5fc7a 100644 --- a/src/pages/menu/menu.ts +++ b/src/pages/menu/menu.ts @@ -28,9 +28,9 @@ export class Menu { this.user = {}; this.WooCommerce = WC({ - url: "http://samarth.southeastasia.cloudapp.azure.com", - consumerKey: "ck_a55da2f5918a380ed8565ba180fb04f4ec67f304", - consumerSecret: "cs_3a5776160220af80f004a6983942fc5e06de22a4" + url: "http://6204dcc0.ngrok.io", + consumerKey: "ck_e1c614aa631216a299e23fe592cdb72669200566", + consumerSecret: "cs_6f8c8055c349d966ece12115671f24ef9af3da63" }); diff --git a/src/pages/product-details/product-details.ts b/src/pages/product-details/product-details.ts index c815fa6..25b96c5 100644 --- a/src/pages/product-details/product-details.ts +++ b/src/pages/product-details/product-details.ts @@ -22,9 +22,9 @@ export class ProductDetails { console.log(this.product); this.WooCommerce = WC({ - url: "http://samarth.southeastasia.cloudapp.azure.com", - consumerKey: "ck_a55da2f5918a380ed8565ba180fb04f4ec67f304", - consumerSecret: "cs_3a5776160220af80f004a6983942fc5e06de22a4" + url: "http://6204dcc0.ngrok.io", + consumerKey: "ck_e1c614aa631216a299e23fe592cdb72669200566", + consumerSecret: "cs_6f8c8055c349d966ece12115671f24ef9af3da63" }); diff --git a/src/pages/products-by-category/products-by-category.ts b/src/pages/products-by-category/products-by-category.ts index 21d04d4..a08b0af 100644 --- a/src/pages/products-by-category/products-by-category.ts +++ b/src/pages/products-by-category/products-by-category.ts @@ -21,9 +21,9 @@ export class ProductsByCategory { this.category = this.navParams.get("category"); this.WooCommerce = WC({ - url: "http://samarth.southeastasia.cloudapp.azure.com", - consumerKey: "ck_a55da2f5918a380ed8565ba180fb04f4ec67f304", - consumerSecret: "cs_3a5776160220af80f004a6983942fc5e06de22a4" + url: "http://6204dcc0.ngrok.io", + consumerKey: "ck_e1c614aa631216a299e23fe592cdb72669200566", + consumerSecret: "cs_6f8c8055c349d966ece12115671f24ef9af3da63" }); diff --git a/src/pages/search/search.ts b/src/pages/search/search.ts index fe97e21..6fca6ef 100644 --- a/src/pages/search/search.ts +++ b/src/pages/search/search.ts @@ -19,9 +19,9 @@ export class SearchPage { this.searchQuery = this.navParams.get("searchQuery"); this.WooCommerce = WC({ - url: "http://samarth.southeastasia.cloudapp.azure.com", - consumerKey: "ck_a55da2f5918a380ed8565ba180fb04f4ec67f304", - consumerSecret: "cs_3a5776160220af80f004a6983942fc5e06de22a4" + url: "http://6204dcc0.ngrok.io", + consumerKey: "ck_e1c614aa631216a299e23fe592cdb72669200566", + consumerSecret: "cs_6f8c8055c349d966ece12115671f24ef9af3da63" }); this.WooCommerce.getAsync("products?filter[q]=" + this.searchQuery).then((searchData) => { diff --git a/src/pages/signup/signup.ts b/src/pages/signup/signup.ts index 1f1b421..16809db 100644 --- a/src/pages/signup/signup.ts +++ b/src/pages/signup/signup.ts @@ -23,12 +23,13 @@ export class Signup { //this.newUser.billing_address.country = "India" this.WooCommerce = WC({ - url: "http://samarth.southeastasia.cloudapp.azure.com", - consumerKey: "ck_a55da2f5918a380ed8565ba180fb04f4ec67f304", - consumerSecret: "cs_3a5776160220af80f004a6983942fc5e06de22a4" + url: "http://6204dcc0.ngrok.io", + consumerKey: "ck_e1c614aa631216a299e23fe592cdb72669200566", + consumerSecret: "cs_6f8c8055c349d966ece12115671f24ef9af3da63" }); } + ionViewDidLoad() { console.log('ionViewDidLoad Signup'); }