It appears to be the situation.
When I disable the module I do not get that error on purchasing everything works. When it is enabled I get that error.
I get (4) instances of the error message:
mysql_real_escape_string() expects parameter 1 to be string, object given in /mnt/w0402/d20/s41/b0265cfb/www/sitev2/includes/database.mysql.inc on line 400.
I am purchasing using a real PayPal provider with IPN enabled. The error happens after the IPN is processed successfully and at which point the gift certificate should be granted.
Btw issues aside this is a VERY cool module and a great idea!
