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: Select all
public static function GeneratePKeys($version_id, $num_keys = 1, $num_acts = 1, $email = null, $feature_names = null, $feature_values = null, $tags = null)



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

Code: Select all
GeneratePKeys($version_id, 1, $quantity, 'user@example.com', array('feature 1', 'feature 2'), array('value 1', 'value 2'))

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 supports a "custom" field 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