Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
Signed-off-by: ian <[email protected]>
  • Loading branch information
ianthirdweb authored Oct 8, 2024
1 parent 9077a59 commit 7fd927a
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,12 +37,16 @@ Navigate to your [Pay Dashboard](https://thirdweb.com/dashboard/connect/pay), cl

#### Testing your Pay Webhook

For testing, we recommend using [https://webhook.site/](https://webhook.site/). Create a Pay webhook using the generated webhook URL, and then use the webhook CLI and the token (found at the end of your webhook.site URL) to forward incoming requests to your localhost. Here is an example CLI command:
For testing, we recommend using [https://webhook.site/](https://webhook.site/). Create a Pay webhook using the generated webhook URL, and then use the webhook.site CLI and the token (found at the end of your webhook.site URL) to forward incoming requests to your localhost.

<img width="625" alt="CleanShot 2024-10-08 at 10 59 19@2x" src="https://github.com/user-attachments/assets/6556fe8a-2f02-4c9f-8748-b3b7a8319b99">

```bash
whcli forward --token=36f7ceed-01fb-419e-b810-30c72575c88f --target=http://localhost:3000/api
```



### Deploying an Engine

If you have not already deployed an Engine instance, navigate to the [Engine Dashboard](https://thirdweb.com/dashboard/engine) and click "Create Engine Instance". Select the tier that best suits your use case. Once you've deployed, copy the generated URL and paste it into your `.env`.
Expand Down

0 comments on commit 7fd927a

Please sign in to comment.