Commit e7869fd6 authored by Bilal's avatar Bilal

Use new backend

parent 87fb4578
...@@ -53,12 +53,10 @@ const TelepayForm = () => { ...@@ -53,12 +53,10 @@ const TelepayForm = () => {
e.preventDefault(); e.preventDefault();
try { try {
const basicAuthHeader = 'Basic ' + btoa('test23:password'); const response = await fetch('https://ivrnet-payment-backend.onrender.com/', {
const response = await fetch('https://central-staging.ivrnet.com/api/v1/invoices/create', {
method: 'POST', method: 'POST',
headers: { headers: {
'Content-Type': 'application/json', 'Content-Type': 'application/json',
'Authorization': basicAuthHeader,
}, },
body: JSON.stringify(formData), body: JSON.stringify(formData),
}); });
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment