Hi There,
Just a quick query I have this in my code:
$webhookID = $webhook->getID();
$agreement_id = $agreement->getID();
$wpdb->show_errors( true );
$wpdb->update( 'wpwx_pdetails', array( 'webhook_id' => $webhookID, 'agreement_id' => $agreement_id ), array( 'token'=> $token ),
array(
'%s', // value1
'%s' // value2
),
array( '%s')
);
All the variables are getting their respected values, however, when the update query is run, no columns are updated. The values are gained via a PayPal API and are returned after a successful purchase.
I have errors turned on and no errors are returned. Can anyone shed any light on this as its driving me around the bend.
Any help would be great.
Thanks