Click here to Skip to main content
15,886,873 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
hi,
I use Easy Digital Download (+ Software Licence ) & Wordpress to sell my products online.

Software Licence is a plugin that generates a product license when the customer buys my product and activate it by API.

the JSON Output :
{"success":true,"license":"valid","item_name":"Custom Template #2","license_limit":9,"site_count":1,"expires":"lifetime","activations_left":8,"checksum":"66c43d9bba464dc78ff26c927","payment_id":"1297","customer_name":"customer naame","customer_email":"mail@yahoo.com","price_id":"2"}


I create a custom field which the customer will write it's company name in it ( id = companyname), I need this field value appear in the JSON Output

{"success":true,"license":"valid","item_name":"Custom Template #2","license_limit":9,"site_count":1,"expires":"lifetime","activations_left":8,"checksum":"66c43d9bba464dc7849fd6c927","payment_id":"1297","customer_name":"customer name","customer_email":"mail@yahoo.com","price_id":"2" ,"companyname":"customer company name"}


What I have tried:

i tried to develop software license code but i faild
Posted

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900