Go Back   vb.org Archive > vBulletin 4 Discussion > vB4 General Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #21  
Old 01-06-2015, 12:48 AM
ozzy47's Avatar
ozzy47 ozzy47 is offline
 
Join Date: Jul 2009
Location: USA
Posts: 10,929
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by kh99 View Post
That would be a no. All you need is the site URL. If you look in the template, the gateway is in a hidden field.

Code:
<input type="hidden" name="notify_url" value="{vb:raw vboptions.bburl}/payment_gateway.php?method=paypal" />
Reply With Quote
  #22  
Old 01-06-2015, 07:45 AM
kh99 kh99 is offline
 
Join Date: Aug 2009
Location: Maine
Posts: 13,185
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by ozzy47 View Post
That would be a no. All you need is the site URL. If you look in the template, the gateway is in a hidden field.

Code:
<input type="hidden" name="notify_url" value="{vb:raw vboptions.bburl}/payment_gateway.php?method=paypal" />
So you're saying that you know that Paypal will take the start of a URL that you enter at the site, then take the /payment_gateway.php?method=paypal part off what you specify in the request (it starts with {vb:raw vboptions.bburl}, which is your forum url, so that would have to be stripped off)? OK, I must have missed that when I read the docs. What I did read is that if you specify a notify_url, it will be called regardless of the settings in your paypal profile, but I might have misunderstood.
Reply With Quote
  #23  
Old 01-06-2015, 08:28 AM
kh99 kh99 is offline
 
Join Date: Aug 2009
Location: Maine
Posts: 13,185
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Here's some information on setting up paypal: http://www.vbulletin.com/forum/forum...k-these-things
Reply With Quote
  #24  
Old 01-06-2015, 09:46 AM
ozzy47's Avatar
ozzy47 ozzy47 is offline
 
Join Date: Jul 2009
Location: USA
Posts: 10,929
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by kh99 View Post
So you're saying that you know that Paypal will take the start of a URL that you enter at the site, then take the /payment_gateway.php?method=paypal part off what you specify in the request (it starts with {vb:raw vboptions.bburl}, which is your forum url, so that would have to be stripped off)? OK, I must have missed that when I read the docs. What I did read is that if you specify a notify_url, it will be called regardless of the settings in your paypal profile, but I might have misunderstood.
No. Look in the template, subscription_payment_paypal. All that info is passed along to PayPal when you submit to them.

Sometimes though you need to enter your site URL to receive the Instant Payment Notification. Why, I don't know. Some sites have to set it up, some sites don't.

I went through all this crap when setting up vBDonate when I was at DBTech. So line I had said, if you are not getting the expected results when someone pays, you start there. Then you check out, your server's access logs and see if it is actually trying to access your site, should look something like this, 123.0.21.3 - - [28/Aug/2012:21:29:57 +0100] "POST /payment_gateway.php HTTP/1.0" 200 - "-" "-", and then check your sites error log and see if you see something like this, [Tue Aug 28 21:29:57 2012] [error] [client 123.0.21.3] client denied by server configuration:

While doing vBDonate, to make it even easier to track issues, the SandBox ability was added to the mod, in order to put the system into test mode, so you could do full transactions in a testing environment, to trace down the potential issues.
Reply With Quote
  #25  
Old 01-06-2015, 09:47 AM
ozzy47's Avatar
ozzy47 ozzy47 is offline
 
Join Date: Jul 2009
Location: USA
Posts: 10,929
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by kh99 View Post
Here's some information on setting up paypal: http://www.vbulletin.com/forum/forum...k-these-things
Yes I mentioned all of it in this post https://vborg.vbsupport.ru/showpost....9&postcount=20
Reply With Quote
  #26  
Old 01-06-2015, 12:34 PM
kh99 kh99 is offline
 
Join Date: Aug 2009
Location: Maine
Posts: 13,185
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by ozzy47 View Post
Yes I mentioned all of it in this post https://vborg.vbsupport.ru/showpost....9&postcount=20
Oh yeah, that's the same post word for word. Sorry I wasted everyone's time by posting a link to it.
Reply With Quote
  #27  
Old 01-06-2015, 12:36 PM
ozzy47's Avatar
ozzy47 ozzy47 is offline
 
Join Date: Jul 2009
Location: USA
Posts: 10,929
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It's cool Kevin, the more eyes on everything, the better.
Reply With Quote
  #28  
Old 01-06-2015, 03:53 PM
thetechgenius's Avatar
thetechgenius thetechgenius is offline
 
Join Date: Jun 2014
Posts: 258
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Are you using CloudFlare Free SSL, or do you actually have a Paid SSL Certificate? I pay yearly for a Comodo Wildcard SSL certificate, and my vB forum works perfectly fine with cloudflare and SSL.
Reply With Quote
  #29  
Old 01-06-2015, 04:42 PM
HM666's Avatar
HM666 HM666 is offline
 
Join Date: Jan 2014
Location: Little Rock, AR
Posts: 1,060
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Also to elaborate on Ozzy's post. When putting in your paypal email address use the "PRIMARY" payment email address on your account. If you have more than one email account on your paypal and you put an address that is not the primary address you do sometimes get problems in vBulletin.
Reply With Quote
  #30  
Old 01-06-2015, 05:44 PM
angemon angemon is offline
 
Join Date: Jul 2014
Posts: 52
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by ozzy47 View Post
That would be a no. All you need is the site URL. If you look in the template, the gateway is in a hidden field.

Code:
<input type="hidden" name="notify_url" value="{vb:raw vboptions.bburl}/payment_gateway.php?method=paypal" />
here you said NO it's only the website url that should be written , but in your first reply you told me to write in IPN the same thing @kh99 said.
6) And if you are specifying the IPN URL in your paypal account then make sure that is correct. If this is your forum:
http://www.vbulletin.com/forum/
Then the IPN URL should be:
http://www.vbulletin.com/forum/payme...?method=paypal

Also all the mentioned things are already made and didn't change anything , the only thing that I didn't get is this one, would you explain it more:
4) Make sure your forum directory is not behind a htaccess login because that will prevent paypal from accessing the callback URL.
Reply With Quote
Reply


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

Forum Jump


All times are GMT. The time now is 01:18 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.12771 seconds
  • Memory Usage 2,265KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (3)bbcode_code
  • (6)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete