Find Jobs
Hire Freelancers

Help set up GoUrl.io API callback

$10-30 USD

Completed
Posted over 4 years ago

$10-30 USD

Paid on delivery
I need help setting up the [login to view URL] API [login to view URL] file. I need to make some updates to some tables in my database when a new payment is received. The default API table (crypto_payments) is working normally, but I can't update other tables. Must be some syntax error or something. Current Code: function cryptobox_new_payment ($ paymentID = 0, $ payment_details = array (), $ box_status = ""){ if ($ box_status = 'cryptobox_newrecord') { $ sql = "UPDATE invoices SET payment_form = 1 WHERE code =" .intval ($ payment_details ["order"]). "LIMIT 1"; run_sql ($ sql); }     return true; } I am open to chat questions.
Project ID: 21756949

About the project

3 proposals
Remote project
Active 5 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs
Awarded to:
User Avatar
Hello there, I'd fix your code to update the database upon the callback. Let me know if you are interested on Thank you
$30 USD in 1 day
5.0 (5 reviews)
3.1
3.1
3 freelancers are bidding on average $28 USD for this job
User Avatar
Hello hiring member i hope you are doing well, i am bhavika i have 4+years experience in php , laravel ,ajax , jqeury , javascript , html ,css , bootstrap i can do it and i can start this right now so please give me chance to serve you thanks in advance :)
$25 USD in 1 day
5.0 (175 reviews)
6.9
6.9
User Avatar
Hi, I read the function code you've posted. I think there should be a check in place to verify that the $payment_details is in fact an array and it has an element named "order" before trying to access that element's value. There may be other issues as well which I can find only after looking at your code. So allow me a chance to study your code and help you fix the issues you're having. Thank you!
$30 USD in 2 days
4.9 (45 reviews)
5.9
5.9

About the client

Flag of BRAZIL
Chapecó, Brazil
5.0
6
Payment method verified
Member since May 20, 2014

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.