The following warnings occurred:
Warning [2] Undefined variable $unreadreports - Line: 26 - File: global.php(961) : eval()'d code PHP 8.2.25 (Linux)
File Line Function
/global.php(961) : eval()'d code 26 errorHandler->error
/global.php 961 eval
/showthread.php 28 require_once





× This forum is read only. As of July 23, 2019, the UserSpice forums have been closed. To receive support, please join our Discord by clicking here. Thank you!

  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Integrating with PayPal
#2
I realised my question wasn't very detailed or precise.

I am using a folder structure that looks like this:

/users/
|--paypal/
|
|--checkout.php

I want to be able to somehow require the init.php file in the checkout.php so that I can access the db and update a table that I've created in the database called paypal_transactions.

Here's a hastebin of the checkout.php file

https://hastebin.com/bimerarixa.xml

I developed this code following a tutorial, so i'm quite sure that there is a better way to insert into the database than what is shown in the file.

Thank you for any guidance you might have!
  Reply


Messages In This Thread
Integrating with PayPal - by gathr - 01-14-2017, 04:50 PM
Integrating with PayPal - by gathr - 01-15-2017, 02:00 AM
Integrating with PayPal - by mudmin - 01-15-2017, 02:38 PM
Integrating with PayPal - by gathr - 01-17-2017, 09:43 AM
Integrating with PayPal - by mudmin - 01-17-2017, 02:23 PM
Integrating with PayPal - by gathr - 02-02-2017, 10:13 AM
Integrating with PayPal - by gathr - 02-08-2017, 12:22 AM
Integrating with PayPal - by mudmin - 02-14-2017, 02:22 PM
Integrating with PayPal - by gathr - 02-14-2017, 10:16 PM
Integrating with PayPal - by radke - 10-10-2017, 11:24 PM

Forum Jump:


Users browsing this thread: 2 Guest(s)