Processing paypal webhooks @ the edge runtime
Unanswered
Tonkinese posted this in #help-forum
TonkineseOP
do you guys have example code on how to process paypal webhooks(i can't use stripe) @ the edge runtime?
if i turn on the edge runtime, i can't get paypal's event_type (BILLING.SUBSCRIPTION.ACTIVATED, etc.), but if i use the regular node runtime, it works just fine
or is paypal WH incompatible with edge?
if i turn on the edge runtime, i can't get paypal's event_type (BILLING.SUBSCRIPTION.ACTIVATED, etc.), but if i use the regular node runtime, it works just fine
or is paypal WH incompatible with edge?
1 Reply
you mean there is no access log to the said endpoint in Vercel Dashboard? or failed inside the api code? actually Vercel Edge Runtime uses Cloudflare Worker, and does not support Node.js native api, while Serverless is AWS Lambda. thus it could happen.