![]() |
php version 5.2.1
mysql version 5 I am getting this error message: PHP Fatal error: Using $this when not in object context in vbdonator_gateway.php i have the vbdonator.php amd vbdonator_gateway.php file in the same directory as my forum index.php file how do i fix this? the donations come in, but i never see them show up on the page unless i manually edit the database also, can someone clarify exactly whats being said with the IPN thing? in mbmpayment i see this: $url .= "¬ify_url=".urlencode($vbulletin->options["bburl"] . "/vbdonator_gateway.php?method=paypal"); so isnt that essentially building the IPN 'callback'? are the posts above for calling the script manually? would something like suhosin and/or eaccellerator affect this? |
Could you maybe add a way for admins/supermods to be able to edit what members put in their messages?
|
Beautiful! Got it installed today and left a few suggestions on your forums!
Well done! |
Can anyone confirm that IPN is working with this? I have IPN set up but have had to manually add each donation so far they don't show up anywhere but in my paypal account- the email (from vbdonator) is also not sent.
|
Quote:
i bet if you looked in your database you would see them too. i dont like way the amount given isnt stored anywhere unless the notify url is contacted. way too much of a potential for lost info. |
I meant that I turned on IPN in paypal.... I think I will just use a different donations hack.
|
i got around my errors by changing the following line:
$this->transaction_id = $_REQUEST['txn_id']; to this: $transaction_id = $_REQUEST['txn_id']; and now it works as expected 2 questions come up tho. 1, Why is $this used at all and 2, the variable transaction_id isnt used in the script at all. it seems that $transid = $_REQUEST["custom"]; is where the transaction ID is getting pulled from either way its working, but these look like issues that could be cleaned up in the code unless i am missing something |
Quote:
This script cannot be redistributed, reproduced, or published in any way. Modifying this script and sharing or publishing your modification A-N-Y-W-H-E-R-E (including here) without the author's written permission is strictly prohibited. The same applies for writting addons or integrading it with any other software or module (eg vbAdvanced). ...and you know why? Because something which is working for you, dosen't means that it will work for the others. Everything is depending on many parammeters. eg PHP version, MySQL version etc. |
Quote:
https://vborg.vbsupport.ru/showthread.php?t=123181 |
French Language :)
Translator: me :p great work Maria, as always :) |
All times are GMT. The time now is 09:59 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|