Safely test your PayFlow integration with test mode and sandbox credentials.
pk_test_
API keyspk_live_
API keysCard Number: 4111 1111 1111 1111
Expiry: Any future date
CVV: Any 3 digits
Account: 1234567890
Routing: 123456789
Use the webhook testing tool in your PayFlow dashboard to send test webhooks:
For local development, use ngrok to expose your local server:
# Install ngrok npm install -g ngrok # Expose your local server ngrok http 3000 # Use the HTTPS URL provided by ngrok in your webhook endpoint
Note: The free version of ngrok will generate a new URL each time you restart it. For production testing, consider using a paid ngrok plan or deploying to a staging environment.