[checkout] Paypal notify and return URLs

whizzkid
whizzkid's picture

Joined: 2006-03-05
Posts: 4
Posted: Fri, 2006-03-31 10:06

I have just upgraded to Gallery 2.1 and the latest versions of the various checkout modules. Everything went relatively smoothly - thanks to turnbulm for your hard work on getting the checkout modules updated.

I think I may have spotted a problem with checkoutpaypal. On my system the return and notify URLs are relative rather than full URLs which will cause problems.

The problem is easily fixed by adding forceFullUrl=true to the 3 g->url calls in templates/PaymentButton.tpl

I have attached a fixed version for anyone else with this problem.

Mike.


Gallery version = 2.1 core 1.1.0
PHP version = 4.1.2 apache
Webserver = Apache
Database = mysql 3.23.49-log, lock.system=database
Toolkits = Gd, NetPBM, Exif
Acceleration = none, none
Operating system = Linux (Debian 3.0)
Default theme = matrix
Locale = en_GB
Browser = Mozilla/5.0 Gecko/20050920 Firefox/1.0.7 SUSE/1.0.7-0.1

AttachmentSize
PaymentButton.tpl.txt1.6 KB
 
turnbulm

Joined: 2004-10-03
Posts: 431
Posted: Fri, 2006-03-31 20:34

Thanks very much for that - I had noticed I'd missed this in the email module but didn't realise it was in PayPal as well. I'll patch the fix into the final release this weekend.

 
LFrank

Joined: 2005-02-19
Posts: 1023
Posted: Sat, 2006-04-01 06:11

turnbulm, tried the same with my thumbnail issue (not appearing in the email).
Adding the ForceFullUrl to the g->image statement in Message.tpl fixed it. Perfect now. Thanks Whizzkid!

Great,
Lutz

Gallery version = 2.1 core 1.1.0
PHP version = 5.1.1 apache2handler
Webserver = Apache/2.2.0 (Win32) DAV/2 PHP/5.1.2 mod_ssl/2.2.0 OpenSSL/0.9.8a
Database = mysql 5.0.18-nt-log,
Theme=PGtheme,
Gallery-URL=http://lf-photodesign.de