PhotoPost Photo Gallery Sales PhotoPost Sales Toll Free Phone Number
Mon-Fri 9am-4pm EST
  PhotoPost Photo Sharing Photo Gallery    Visualize community tm
| | | | | | | | |

Go Back   PhotoPost Community > PhotoPost Support > PhotoPost Classifieds Support > Classifieds Bug Reports

Classifieds Bug Reports Post any problems you may be having with Classifieds here.

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
Old July 4th, 2010, 09:25 PM   #1 (permalink)
Junior Member
 
Join Date: Feb 2008
Location: Florida
Posts: 22
Exclamation Blank Page on Payment_Verification and PayPal IPN

I am going through the process of placing an ad, then process of purchasing, then cancel of purchase - but am getting a blank page when I cancel the ad from Paypal.

The price - item info transfer to Paypal fine.

I have made the IPN settings as: http://www.mydomain.com/classifieds/...rification.php

I have downloaded a new build - then re-up'ed the new verification script.

Is there anything you could suggest for me?

Thank you for your help

Mark
bam-mark is offline   Reply With Quote
Old July 4th, 2010, 09:44 PM   #2 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,705
what is the url of the cancel request?

we pass the cancel url to be the index of your classifieds

Code:
Content visible to verified customers only.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old July 4th, 2010, 09:47 PM   #3 (permalink)
Junior Member
 
Join Date: Feb 2008
Location: Florida
Posts: 22
The URL sends the canceled request through the payment_verification.php script. That's at least what I have set on IPN. Should I turn the IPN off in Paypal then?
bam-mark is offline   Reply With Quote
Old July 4th, 2010, 09:50 PM   #4 (permalink)
Junior Member
 
Join Date: Feb 2008
Location: Florida
Posts: 22
The URL for the classifieds is: Main Index - IncontinenceNET Marketplace
bam-mark is offline   Reply With Quote
Old July 4th, 2010, 10:13 PM   #5 (permalink)
Junior Member
 
Join Date: Feb 2008
Location: Florida
Posts: 22
I'm going to hang it up for the night and hit this tomorrow. But - I have changed payment settings in Paypal - and turned on and off the IPN - but still comes up blank. I'm sure it's a simple fix. I'll look into it too tomorrow... Thank you very much Chuck...

Mark
bam-mark is offline   Reply With Quote
Old July 5th, 2010, 06:02 AM   #6 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,705
yeah wonder why paypal does not pick up the cancel_return variable.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old July 6th, 2010, 05:32 AM   #7 (permalink)
Junior Member
 
Join Date: Feb 2008
Location: Florida
Posts: 22
Exclamation Hey Chuck - can we fix this error?

Quote:
Originally Posted by Chuck S View Post
yeah wonder why paypal does not pick up the cancel_return variable.
I'm hoping for more of a concrete answer than - I wonder why they don't pick up this variable. Can you help me resolve this error - I would very much appreciate it. Otherwise - it's really a useless piece of software for our business. If I can't actually sell and process purchases - then why have it. I very much appreciate any assistance you can give us.

Thank you,

Mark Taborn - Space Coast Studios of Florida
bam-mark is offline   Reply With Quote
Old July 6th, 2010, 06:38 AM   #8 (permalink)
Junior Member
 
Join Date: Feb 2008
Location: Florida
Posts: 22
I also did a search of source code in the complete classified files - and cancel_return is not found, unless this is part of PayPal only...
bam-mark is offline   Reply With Quote
Old July 6th, 2010, 07:53 AM   #9 (permalink)
Junior Member
 
Join Date: Feb 2008
Location: Florida
Posts: 22
Chuck - I also noticed on the code that it is different from what Paypal gives as a test php code

They say to use:

$fp = fsockopen ('www.paypal.com', 443,

and classifieds is listed as:

$fp = fsockopen ('www.paypal.com', 80,

It doesn't make a difference in the payment verification - and all the code looks really clean and up to standards. Great job with commenting the code by the way. I'll have to call PayPal and see if it's something that is on their end. Although - it does do what the script intends - returning to the payment_verification.php

It just acts as if there is misbehaving code return in php schema. Almost like a whitespace error of some sort.

I'll keep digging....

Mark
bam-mark is offline   Reply With Quote
Old July 6th, 2010, 09:38 AM   #10 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,705
Mark if paypal changed something I would need to investigate that but your talking about payment verification and that only runs if an ad is payed for. Your issue is with the cancel_return variable which we pass to paypal through the payment template. I noted that line above. It looks like its passed right.

You cant run payment verification directly thats only a call back script written for paypal to use on payment verification.

https://www.x.com/message/137680#137680

There may be paypal bug here your dealing with as we definately pass a cancel return variable. If paypal is not following that then thats outside our code and paypal causes that.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old July 6th, 2010, 09:40 AM   #11 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,705
Now here is a little dirty hack that might help you a little in payment_verification.php since you seem to be going to that script instead of the index try this.

Code:
Content visible to verified customers only.
change to this

Code:
Content visible to verified customers only.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old July 6th, 2010, 09:46 AM   #12 (permalink)
Junior Member
 
Join Date: Feb 2008
Location: Florida
Posts: 22
KEWL - Thanks Chuck - I was toying with that... and - just didn't know the correct syntax...
bam-mark is offline   Reply With Quote
Old July 6th, 2010, 10:04 AM   #13 (permalink)
Junior Member
 
Join Date: Feb 2008
Location: Florida
Posts: 22
Chuck - still no work. Where exactly in the code is cancel_return var ?? I'm wondering where that var is passed? is it in the payment_verification.php? Thanks Chuck - this looks like an error with the PayPal folks...
bam-mark is offline   Reply With Quote
Old July 6th, 2010, 10:17 AM   #14 (permalink)
Junior Member
 
Join Date: Feb 2008
Location: Florida
Posts: 22
I found it in the payment,tmpl file
bam-mark is offline   Reply With Quote
Old July 6th, 2010, 10:30 AM   #15 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,705
Mark this issue has nothing to do with our code or payment_verification.php

The cancel_return variable is defined in the payment template which is used by payment.php a totally different script.

Your issue is because paypal is not passing the correct cancel_return url which is clearly defined so this seems like a total paypal issue.

There site is littered with issues with cancel_return url issues. There is nothing I can give you to work if there site does not work right as we have no control over paypal. All I can do is code our code to match what they tell us and clearly that is defined as I see correctly.

https://cms.paypal.com/us/cgi-bin/?&..._htmlvariables

I have relooked at paypal and our payment template seems to be coded correctly to pass a cancel_return url

Code:
Content visible to verified customers only.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old July 6th, 2010, 10:35 AM   #16 (permalink)
Junior Member
 
Join Date: Feb 2008
Location: Florida
Posts: 22
You are right there Chuck - I really think your code is clean and commented really well. It is PayPal's issue. Thank you for helping me sort this out... I may go with another payment system altogether. Mark
bam-mark is offline   Reply With Quote
Old July 6th, 2010, 10:59 AM   #17 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,705
yeah there is more than once payment solution. Not the first time I have heard of the issue and clearly not the first time they have heard of it although why they have not fixed there site I cant say.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old July 6th, 2010, 04:03 PM   #18 (permalink)
Junior Member
 
Join Date: Feb 2008
Location: Florida
Posts: 22
From the PayPal MTS Guys. Passing the buck I guess.. GREAT... I guess no one is wrong - and it's the other guys fault type of response...

Mark


-------------------------------------------------------------------|
Hello Mark,

Thank you, this is exactly what I needed. Here is the code that was generated (the HTML code that your PHP code generated):

<form action="https://www.paypal.com/cgi-bin/webscr" method="post">
<input class="primary textbox" type="hidden" name="cmd" value="_xclick">
<input class="primary textbox" type="hidden" name="business" value="mark@indianriverstudio.com">
<input class="primary textbox" type="hidden" name="item_name" value="Hoyer Lift - Manual never used">
<input class="primary textbox" type="hidden" name="item_number" value="96c9cf2c34eadecf03cdd2ef14d4f552" />
<input class="primary textbox" type="hidden" name="amount" value="550">
<input class="primary textbox" type="hidden" name="quantity" value="1">

<input class="primary textbox" type="hidden" name="shipping" value="0.00" />
<input class="primary textbox" type="hidden" name="return" value="http://www.incontinencenet.com/mp/payment_verification.php">
<input class="primary textbox" type="hidden" name="cancel_return" value="http://www.incontinencenet.com/mp/payment_verification.php" />
<input class="primary textbox" type="hidden" name="notify_url" value="http://www.incontinencenet.com/mp/payment_verification.php" />
<input class="primary textbox" type="hidden" name="custom" value="mrmark" />
<input class="primary textbox" type="hidden" name="cbt" value="IncontinenceNET.com" />
<input class="primary textbox" type="hidden" name="txn_type" value="cart" />
<input class="primary textbox" type="hidden" name="rm" value="2">
<input class="primary textbox" type="hidden" name="image_url" value="http://www.incontinencenet.com/mp/images/mplogo-pp.jpg">

<input class="primary textbox" type="hidden" name="currency_code" value="USD">
<div align="center"><input class="primary textbox" type="submit" value="Proceed to payment"></div>
</form>

This is working correctly, because when I click the "Cancel and return to...." link during the checkout, it takes me to http://www.incontinencenet.com/mp/pa...rification.php as expected (which incedently shows as a blank white page).
bam-mark is offline   Reply With Quote
Old July 6th, 2010, 04:15 PM   #19 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,705
Mark okay well your payment template is not current. As noted change the cancel_return line to what I posted as thats whats in our current downloadable code so maybe your classifieds is older.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Bug in payment_verification ktmtalk Classifieds Bug Reports 11 November 4th, 2009 03:29 PM
Cancelling PayPal Transaction Returns Blank Screen AstroDude Classifieds Bug Reports 1 June 14th, 2009 06:17 AM
3.0 and Paypal IPN 0ptima PhotoPost Classifieds Support 4 April 22nd, 2008 08:05 PM
Paypal IPN question Zate Classifieds Installation & Upgrades 6 June 6th, 2005 02:46 PM


All times are GMT -5. The time now is 10:10 PM.

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0