๐ต PayPal
PayPal Configuration
- Head over to https://developer.paypal.com and sign in with your PayPal account.
- Navigate to the "My Apps & Credentials" tab
- Switch the application into "Live" move ("Sandbox" is for development purposes ONLY)
- Click "Create App"
- Name the app something relevant to your website, Cosmo will do fine
- Click "Create App" once again
- Open a notepad or notes document.
- Copy the "Client ID" - Do not share this with anyone
- Under "Secret" Click show
- Copy the Client Secret - Do not share this with anyone
- Scroll down to "Live Webhooks"
Click "Add Webhook"
info
Please pay very close attention to the following step, as not following it correctly will lead to issues and or errors.
- Type your domain followed by "/api/paypal"
- Check "All Events"
- Click "Save"
Example: https://physgun.com - My domain
https://physgun.com/api/paypal - My Webhook URL
- Copy your Webbook ID.
Cosmo dashboard configuration
- Head over to your cosmo admin dashboard
- Navigate to the "Settings" Tab
- Open the "PayPal" Payment settings
- Paste your "PayPal Client ID" - Don't share this with anyone
- "User Chargeback Ban" if a user opens a dispute on your store, They will be banned.
- Paste your "PayPal Client Secret" - Don't share this with anyone
- Paste your "PayPal Webhook ID"
- "PayPal Sandbox Mode" should be disabled by default, In use with Sandbox mode.