close ad
Databridge V2 with MySQLi support IS Now Available!
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

Export information from mysql to quickbooks

Thread began 8/05/2021 1:44 pm by JBWebWorks | Last modified 8/07/2021 9:52 pm by JBWebWorks | 82 views | 7 replies


Thanks Ray,
my ipn inserts into the database correctly. The item_number and memo are the two things that are not going from PayPal to quickbooks when the accountant connects to his PayPal account.
I am not familiar with quickbooks. Based on your statement i can get the ipn to insert into quickbooks at the same time?. What do i need to get that to work?

Here is my ipn code

// set the default timezone to use. Available since PHP 5.1
<?php require_once('Connections/conn_nwfgal.php'); ?>
<?php require_once('webassist/mysqli/queryobj.php'); ?>

require "paypal_integration_class/paypal.class.php";
require "config.php";

$p = new paypal_class;
$p->paypal_url = $payPalURL;

if ($p->validate_ipn()) {
$amount = $p->ipn_data['mc_gross'] - $p->ipn_data['mc_fee'];
if (true) {
$InsertQuery = new WA_MySQLi_Query($conn_nwfgal);
$InsertQuery->Action = "insert";
$InsertQuery->Table = "registration_paypal";
$InsertQuery->bindColumn("transaction_ID", "s", "".$p->ipn_data['txn_id'] ."", "WA_DEFAULT");
$InsertQuery->bindColumn("first_name", "s", "".$p->ipn_data['first_name'] ."", "WA_DEFAULT");
$InsertQuery->bindColumn("last_name", "s", "".$p->ipn_data['last_name'] ."", "WA_DEFAULT");
$InsertQuery->bindColumn("email1", "s", "".$p->ipn_data['payer_email'] ."", "WA_DEFAULT");
$InsertQuery->bindColumn("address_street", "s", "".$p->ipn_data['address_street'] ."", "WA_DEFAULT");
$InsertQuery->bindColumn("address_city", "s", "".$p->ipn_data['address_city'] ."", "WA_DEFAULT");
$InsertQuery->bindColumn("address_state", "s", "".$p->ipn_data['address_state'] ."", "WA_DEFAULT");
$InsertQuery->bindColumn("address_zip", "s", "".$p->ipn_data['address_zip'] ."", "WA_DEFAULT");
$InsertQuery->bindColumn("amount", "d", "".$amount ."", "WA_DEFAULT");
$InsertQuery->bindColumn("payment_gross", "s", "".$p->ipn_data['mc_gross'] ."", "WA_DEFAULT");
$InsertQuery->bindColumn("payment_fee", "s", "".$p->ipn_data['mc_fee'] ."", "WA_DEFAULT");
$InsertQuery->bindColumn("program", "s", "".$p->ipn_data['item_number'] ."", "WA_DEFAULT");
$InsertQuery->bindColumn("special_requests", "s", "".$p->ipn_data['memo'] ."", "WA_DEFAULT");
$InsertQuery->bindColumn("original_request", "s", "".http_build_query($_POST) ."", "WA_DEFAULT");
$InsertGoTo = "";
if (function_exists("rel2abs")) $InsertGoTo = $InsertGoTo?rel2abs($InsertGoTo,dirname(__FILE__)):"";
} else {

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question





Ease of use


security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...