bright, fresh software
Downloads  |  Buy

PayPal Scripts

Post a reply


This question is a means of preventing automated form submissions by spambots.
Smilies
:D :) ;) :( :o :shock: :? 8-) :lol: :x :P :oops: :cry: :evil: :twisted: :roll: :!: :?: :idea: :arrow: :| :mrgreen: :geek: :ugeek:
BBCode is OFF
Smilies are ON
Topic review
   

Expand view Topic review: PayPal Scripts

Re: PayPal Scripts

Post by Jason » March 9th, 2012, 2:49 pm

Awesome, thank you.

Re: PayPal Scripts

Post by Wyatt » March 9th, 2012, 1:02 pm

You mean the "GeneratePKeys()" function? No, you pass in arrays. If you look in the file you'll see the function definition is as follows:

[code:3a0jrh9k]public static function GeneratePKeys($version_id, $num_keys = 1, $num_acts = 1, $email = null, $feature_names = null, $feature_values = null, $tags = null)[/code:3a0jrh9k]


So to generate a product key with feature values you do something like this:

[code:3a0jrh9k]GeneratePKeys($version_id, 1, $quantity, [email protected].com', array('feature 1', 'feature 2'), array('value 1', 'value 2'))[/code:3a0jrh9k]

Re: PayPal Scripts

Post by Jason » March 9th, 2012, 12:35 pm

Thanks. In LimeLM.php, should multiple feature names and values be separated with commas?

Re: PayPal Scripts

Post by Wyatt » March 9th, 2012, 12:27 pm

PayPal [url=https://cms.paypal.com/us/cgi-bin/?cmd=_render-content&content_ID=developer/e_howto_html_IPNandPDTVariables#id091EAB0105Z__id0913D0J60HK:27m8jc8t]supports a "custom" field[/url:27m8jc8t] where you can pass through custom data.

PayPal Scripts

Post by Jason » March 9th, 2012, 12:21 pm

Is there any way to pass feature values through PayPal to paychecker using the included PayPal scripts?

(https://wyday.com/limelm/help/automate-license-generation-with-paypal/)

I want to use these scripts to automate key generation but I have a user-entered feature value that is required (a "Licensed To:" string).

Top