I'm testing out lm_paypal with paypal's sandbox. It seems to work fine with user 1, but not with my other test account. The test account that is not working has a uid of 100002. The lm_paypal_ipns table lists the proper records with 100002 in the 'custom' field. However on the LM PayPal Saved IPNs page in the User column, it list the user as "34466 (1)". This makes it impossible to associate the successfully submitted subscription to the account. I'm not much of a php programmer, but I'm assuming something in the code is improperly converting "100002" to "34466 (1)". I was asked to make this subscription feature available soon and so would appreciate any help anyone would like to give.
Comments
Comment #1
LeeMcL commentedSorry but there is a badly documented restriction in LM_PayPal that limits the uid to the range 1-6553.
I will improve the documentation.
I do plan to recode this, time permitting, but it would be a major change that would break existing subscriptions because the information involved is stored in PayPal's copy of the subscription.
Do you actually have more than 65535 users? If not would it be possible for you to use uids in this range?
Lee
Comment #2
LeeMcL commentedApologies there is a typo the first paragraph of my previous posting. It should read:
Sorry but there is a badly documented restriction in LM_PayPal that limits the uid to the range 1-6553.
Comment #3
LeeMcL commentedOh damn and blast! Made the same typo again!
The maximum uid should read 65536:
Sorry but there is a badly documented restriction in LM_PayPal that limits the uid to the range 1-65536.
Comment #4
ejwensley commentedOkay, thanks for the info. I can make sure the uid's are within that range.
Comment #5
LeeMcL commentedI've updated the README.txt to document this restriction.
Lee