PayPal supports a "custom" field where you can pass through custom data.
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).
PayPal supports a "custom" field where you can pass through custom data.
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:
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:
GeneratePKeys($version_id, 1, $quantity, 'user@example.com', array('feature 1', 'feature 2'), array('value 1', 'value 2'))