ok
This commit is contained in:
@@ -61,7 +61,7 @@ const Checkout = ({ socketId, transactionSuccess }) => {
|
|||||||
// Fetch products
|
// Fetch products
|
||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
if (itemIds && Array.isArray(itemIds) && itemIds.length > 0) {
|
if (itemIds && Array.isArray(itemIds) && itemIds.length > 0) {
|
||||||
fetch('https://bot.kediritechnopark.com/webhook/store-dev/products', {
|
fetch('https://bot.kediritechnopark.com/webhook/store-production/products', {
|
||||||
method: 'POST',
|
method: 'POST',
|
||||||
headers: {
|
headers: {
|
||||||
'Content-Type': 'application/json',
|
'Content-Type': 'application/json',
|
||||||
@@ -119,7 +119,7 @@ const Checkout = ({ socketId, transactionSuccess }) => {
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
const response = await fetch('https://bot.kediritechnopark.com/webhook/store-dev/pay', {
|
const response = await fetch('https://bot.kediritechnopark.com/webhook/store-production/pay', {
|
||||||
method: 'POST',
|
method: 'POST',
|
||||||
headers: {
|
headers: {
|
||||||
'Content-Type': 'application/x-www-form-urlencoded',
|
'Content-Type': 'application/x-www-form-urlencoded',
|
||||||
|
|||||||
Reference in New Issue
Block a user