Followed the instructions on creating a licence and currently using a webhook from Stripe to try to generate a licence when a customer is created, but no joy so far. Keep getting Error 500 (Internal Server Error)…
So far
- Added $CRYPTLEX_SECRET to .php file
- Included ***.php?cryptlex_secret= in URL endpoint
- Added $PERSONAL_ACCESS_TOKEN with correct privileges - license:write, user:read, user:write
- Added Webhook details to Stripe, specified generate-license.php?cryptlex_secret=**** as URL
RESULT: After creating a customer, Error 500 displayed
******* is currently unable to handle this request.**
HTTP ERROR 500
STRIPE: Webhook details
URL: https:///generate-license.php?cryptlex_secret=*
Description: To create licence in Cryptlex after a new customer is created
Event types: customer.created
Is there something missing? As it seems more like trial and error at the moment.