 | |  | | | Classifieds How do I...? Wondering how to do something in Classifieds? |
November 11th, 2010, 08:54 AM
|
#1 (permalink)
| | Member Verified Customer
Join Date: Mar 2010
Posts: 67
| IPN Url
Hi Chuck,
I seem to have a problem and I have read all the threads I can find on here but I think Im missing something.
I am having the issue of a blank page after payment at payment_verification.php.
I am running the latest classifieds version 4.1 and no template edits.
I have checked the cancel return lins is as stated in this post here: http://www.photopost.com/forum/1237542-post2.html
and it is the same.
Any ideas? I checked the paypal IPN url is pointed to payment_verification.php.
but still no joy.
the paypal payments are been paid sucessfully - just this blank page
what am I missing?!!
cheers
Brett
|
| |
November 11th, 2010, 01:30 PM
|
#2 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,668
|
Okay well try editing the payment template as long as your ipn is done right so the payment details will be passed to the program you should be able to change the return ur like so in the template Code: Content visible to verified customers only.
|
| |
November 11th, 2010, 02:10 PM
|
#3 (permalink)
| | Member Verified Customer
Join Date: Mar 2010
Posts: 67
|
so the code you stated there I should have that exactly the same in my payment template? because its already showing that
|
| |
November 11th, 2010, 02:18 PM
|
#4 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,668
|
I doubt yours is the same
Notice the value in my statement says index.php yours says payment_verification.php
|
| |
November 11th, 2010, 04:31 PM
|
#5 (permalink)
| | Member Verified Customer
Join Date: Mar 2010
Posts: 67
|
ok IM still confused - so I change my code to match your's so replace payment_verification.php in both my template and payapl IPN to index.php instead?
I was under the impression reading similar threads on here that after the paypal payment screens it must go back through payment_verification.php to verify the sale? so would changing my IPN and to go back to index not forfeit this?
My apologies for not grasping this very well!
Last edited by wampforum; November 11th, 2010 at 04:40 PM.
|
| |
November 11th, 2010, 06:09 PM
|
#6 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,668
|
No your IPN has to be to payment_verification.php which I beleive I stated in my reply
The only change is the input return statement in the template. There we change that to index.php
|
| |
November 11th, 2010, 06:21 PM
|
#7 (permalink)
| | Member Verified Customer
Join Date: Mar 2010
Posts: 67
|
crossed wires I think chuck I didnt explain very well!
my payment template is already pointing at index.php by default.
my IPN (which I change via paypal is set at payment_verification.php
|
| |
November 11th, 2010, 06:29 PM
|
#8 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,668
|
Well if your return url is set to index.php in the actual template then you would go to the index when you complete a payment on paypal.
So you changed it because in the actual code it goes to payment_verification.php
|
| |
November 12th, 2010, 02:52 AM
|
#9 (permalink)
| | Member Verified Customer
Join Date: Mar 2010
Posts: 67
|
no definately has that but I just noticed my line isnt
<input class="bginput" type="hidden" name="return" value="$Globals['maindir']}/index.php">
its exactly the same except the input type is input class 'primary'
does this need changing? Maybe im looking in the wrong place? This is in payment.tmpl
Now im looking at this in edit template in the admin area of classifieds.
Is this where you edit the templates? Ive read about 50 threads about editing template but not actually mention if this is the correct place to do so!!
|
| |
November 12th, 2010, 09:22 AM
|
#10 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,668
|
Maybe you are looking in the wrong place there are other payment templates like buy template
The return url if you FINISH a payment is the url you are sent back to. It should be index.php
Yours would only say index if you changed it.
|
| |
November 12th, 2010, 09:31 AM
|
#11 (permalink)
| | Member Verified Customer
Join Date: Mar 2010
Posts: 67
|
so what templates do i need to chane then if its not just payment.tmpl? and do I edit these in the edit templates section in the classifieds admin area?
I'm assuming im changing the line you originally stated in all these other templates just the same?
|
| |
November 12th, 2010, 12:58 PM
|
#12 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,668
|
Yes in the payment and buy and subscription templates you can change the input return url line to index.php not payment_verification.php and as stated if you complete a paypal transaction it should return you to the index.
|
| |
November 12th, 2010, 01:52 PM
|
#13 (permalink)
| | Member Verified Customer
Join Date: Mar 2010
Posts: 67
|
changed all them put it still returns through payment_ verification.php
Does my IPN URl in paypal need to point to payment_verification.php or index.php?
|
| |
November 12th, 2010, 02:01 PM
|
#14 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,668
|
the ipn should be payment_verification.php
Really cant say more without seeing a url
|
| |
November 12th, 2010, 02:06 PM
|
#15 (permalink)
| | Member Verified Customer
Join Date: Mar 2010
Posts: 67
|
yeah IPN points to payment_verification.php
I re-uploaded new templates and replaced the cancel return and return values to index.php
can I check what notify_url should point to as this is showing payment_verification rather than index.php
|
| |
November 12th, 2010, 04:35 PM
|
#16 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,668
|
notify url should be payment_verification.php
|
| |
November 12th, 2010, 04:56 PM
|
#17 (permalink)
| | Member Verified Customer
Join Date: Mar 2010
Posts: 67
|
right working now re-checked everything and reuploadedd templates again all was correct but its working now thank god!!
thanks for your patience chuck!
|
| |
November 12th, 2010, 06:14 PM
|
#18 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,668
|
no problem yeah as stated if the return url is right it should go where return says it should.
|
| | |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | | | | Thread Tools | | | | Display Modes | Rate This Thread | Linear Mode | |
Posting Rules
| You may not post new threads You may not post replies You may not post attachments You may not edit your posts HTML code is Off | | | All times are GMT -5. The time now is 09:34 AM. | |