Register Members List Search Today's Posts Mark Forums Read

Reply
 
Thread Tools
  #1  
Old 26 Oct 2020, 03:20
Dr.CustUmz's Avatar
Dr.CustUmz Dr.CustUmz is online now
 
Join Date: Aug 2013
Real name: Ryan
Unhappy DESPERATLY NEED HELP

I am trying to update and complete the members area modification, I know this product was released here under a false author and was never complete although it was never removed from here, and there are like 6 different threads for it which all have not been active in quite some time, and the author and co-authors (or anyone who has worked on it) has not been on in years.

I have managed to get the basics working, I have updated a lot of the code, added features, and everything seems to be functional.

What I am having problems with is getting the data to insert in the right places once the payment goes through.

The following code snippets are where the purchases take place:

members.php (Line 164) Says if the product is free, insert the data (Funstions as it should)

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

ELSE IF NOT FREE (right after the above) does not want to work.

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

mem_payment.php (line 100) this is where the successful payment process starts, the payment goes through ok, but the data is never inserted into the license tables. Without this process I have to manually approve EVERY single transaction, I really need this to function.


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

SOME of the things I have attempted to debug

I have tried removing the if condition verified, and even the condition

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

So it reads the following not contained in any condition:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

That still didnt insert the data into the license table, so I begun to break it down, I created a test page, included what needed to be included and echoed every variable and array and they all returned the proper results. So maybe the script is breaking somewhere else?

I post the mem_payment.php on StackOverflow and a suggestion I got was to use $script = 'ipnpb.paypal.com'; rather than www.paypal
that still did nothing, the payment works. its just this data not being inserted and the rest of the script on the page. They also suggested to upgrade the payment method to the new paypal api, but I have no idea where to begin with that, and this works for the payment, so I'm not too concerned with that right away.

If anyone can help me get this functioning I will split the profit of my first 5 sales once this is complete. And I have ALOT of products to be sold.
__________________
I have re-launched vBTeam! No longer will it be a warez site, but an alternative to here. Come Join Us Today!
I like to work with vB3, but if you have a custom request anything vB feel free to PM me!
Reply With Quote
  #2  
Old 28 Oct 2020, 16:47
Dead Eddie's Avatar
Dead Eddie Dead Eddie is offline
 
Join Date: Apr 2004

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

If I had to guess, I'd guess your problem is here.

I suspect you're encountering an error in save, dumping the messages to PayPal, and you're not saving.
Reply With Quote
Reply


Tags
license, members, paypal, php


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

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


New To Site? Need Help?

All times are GMT. The time now is 23:42.

Layout Options | Width: Wide Color: