Thread Rating:
  • 10 Vote(s) - 2.7 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[For 1.8] MySubscriptions - Paid Usergroup Subscriptions (Paypal IPN)
#71
(2016-04-03, 10:16 AM)24Sevn Wrote:
(2016-04-03, 10:13 AM)darkhk3r Wrote: Buy page: https://github.com/blockchain/receive-pa...master/php

http://localhost/receive_payment_php_demo/setup.php (config db etc)

http://localhost/receive_payment_php_demo/index.php (buy page)

later check callback response in plugin Smile

Uhm, all I've done is edit the code and placed it all in my server files but the page /receive_payment_php_demo/setup.php doesn't exist

Hello,
All the files are there : https://github.com/blockchain/receive-pa...master/php

[Image: eae82d1a91494b68a55563d6cb671f73.png]
Make sure your path is correct.
Reply
#72
Is there away to stop is from updating Groups? Or make it update a secondary Group? Its removing my admins from groups to the VIP Group lmao
Reply
#73
i have problem here

my paypal ipn on website isnt available look at this

https://gudanginternet.id/misc.php?do=paypal_ipn
Reply
#74
Does this plugin add the user to a sub group so they keep their original group(s) or does this replace the group(s) that the user currently has if they purchase a package?
Reply
#75
Guys, is there a way to make this work with Clickbank IPN?
Reply
#76
I believe I installed everything correctly but when I go to "misc.php?action=payments" I get this:
[Image: 64f6492da8774d58883b6b20ce0fff81.png]
Reply
#77
From all I have seen, this plugin leaves much to be used! Anything that has to do with payment should not mess up this way!
Reply
#78
Not sure if anyone has pointed this out already, but there's an issue with usergroups. File inc/plugins/mysubs.php, line 580:

					if($sub['accepted_gids'] != 'all')
						{
							$gids = explode(',', $user['additionalgroups']);
							$gids[] = $user['usergroup'];
							$matched = array_intersect($gids, explode(',', $sub['accepted_gids']));
							if(empty($matched)) $accepted_gid = false;
						}

This does not work as the $sub variable hasn't been initialized. Instead, you should use $item which is loaded with the actual subscription.

					if($item['accepted_gids'] != 'all')
						{
							$gids = explode(',', $user['additionalgroups']);
							$gids[] = $user['usergroup'];
							$matched = array_intersect($gids, explode(',', $item['accepted_gids']));
							if(empty($matched)) $accepted_gid = false;
						}

Without this correction, if one of the subscriptions has a blank field as allowed usergroups the whole process will fail.
[Image: fSGNVQj.png]
Reply
#79
MyBB has experienced an internal SQL error and cannot continue.

SQL Error:
1364 - Field 'order' doesn't have a default value
Query:
INSERT INTO mybbrm_mysubs (name,admin_desc,description,recurring,price,currency,new_group,active,accepted_gids,item_name,item_number) VALUES ('Loyalist','Loyalist','Loyalist',0,'N;','EUR',8,1,'all','Loyalist','sub_{$sid}')
Please contact the MyBB Group for technical support.

how to fix?
Reply
#80
Hello, how can I make that the users don't have the option to select the subscription but instead go directly to the page where is the Confirm Purchase button? I just have 1 subscription, so I don't need the users to select between different options.
Is this possible?

Thank you
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)