Commit e7869fd6 authored by Bilal's avatar Bilal

Use new backend

parent 87fb4578
......@@ -53,12 +53,10 @@ const TelepayForm = () => {
e.preventDefault();
try {
const basicAuthHeader = 'Basic ' + btoa('test23:password');
const response = await fetch('https://central-staging.ivrnet.com/api/v1/invoices/create', {
const response = await fetch('https://ivrnet-payment-backend.onrender.com/', {
method: 'POST',
headers: {
'Content-Type': 'application/json',
'Authorization': basicAuthHeader,
},
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