Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 07/02/2019 in all areas

  1. Yeah, this is not something that a couple posts on a forum is going to solve. You're talking about integrating with some website's API. There's documentation to read, instructions to follow, possibly a developer account or API key to obtain... We can still help but you're going to have to do a fair bit of work even to get the ball rolling here. The first question you need to answer is what, technically speaking though not in terms of literal PHP code, is what your site needs to do. What data goes where and how. Translating that into PHP comes after.
    1 point
  2. If you're not seeing the results you expect in console. I use postman for troubleshooting. You can put in the URL and the post data in json format, and run it to see what the result actually is. You could have an error in my_cart.php. You could be outputting something along with your json. Your json may not be formatted properly. I would add this ini_set('display_errors', 1); ini_set('display_startup_errors', 1); error_reporting(E_ALL); to the beginning of my_cart.php and either view the results in development tools or download postman and try it that way.
    1 point
  3. When your script has an error, do you see those errors or just have to guess whether you have one or not? If the later, please do not do anything until you figure out how to view errors. Try adding the following error_reporting(E_ALL); ini_set('display_startup_errors', '1'); ini_set('display_errors', '1');
    1 point
This leaderboard is set to New York/GMT-04:00
  • Newsletter

    Want to keep up to date with all our latest news and information?
    Sign Up
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.