Skip to content

Latest commit

 

History

History

Webhook

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

Run in current folder

composer install
php -S localhost:8080 Webhook.php

Make your server externally accessible. For testing purpose, you can install ngrok and run:

ngrok http 8080

The output should be something similar to:

Session Status online Session Expires 7 hours, 59 minutes Version 2.2.8 Region United States (us) Web Interface http://127.0.0.1:4040 Forwarding http://cbfcdae9.ngrok.io -> localhost:3000 Forwarding https://cbfcdae9.ngrok.io -> localhost:3000

Copy the "https" link (in this case https://cbfcdae9.ngrok.io) to your clipboard and then paste it into the Settings\Webhook section of Coinbase Commerce's admin page. Send test request.