WelcomeTech We Have UsedGetting StartedDemo DeployWalletEmail ConfigurationFAQ PageContactTerms and conditionsFAQSupportChange Log
Available Scripts & Command
How Can I use this app
Features
Settings
Payment
SEO and Analytics
API
Shop Transfer
Multilingual & Translation
Third-party Integrations
Deployment
Back-End Integration
Customizations
Update & Upgrade Guide
PayPal
PayPal is an American multinational financial technology company operating an online payments system. In Pixer we have integrated PayPal APIs which may cover a vast area of PayPal supported region. It will help your business to grow and reach to a wide region.
PayPal integrate inside Pixer.
Please follow & complete this steps for PayPal integration for your e-commerce system.
- Inside
.env
file copy & paste this line of codes. We will discuss later about how to create those API keys in PayPal.
# Values: sandbox or live (Default: live)PAYPAL_MODE=sandbox# Add currency like USDPAYPAL_CURRENCY=USD# Change this accordingly for your application.PAYPAL_NOTIFY_URL=# force gateway language i.e. it_IT, es_ES, en_US ... (for express checkout only)PAYPAL_LOCALE=en#Validate SSL when creating api client.PAYPAL_VALIDATE_SSL=# PayPal Setting & API Credentials -> sandboxPAYPAL_SANDBOX_CLIENT_ID=[YOUR_PAYPAL_SANDBOX_CLIENT_ID]PAYPAL_SANDBOX_CLIENT_SECRET=[YOUR_PAYPAL_SANDBOX_CLIENT_SECRET_KEY]# PayPal Setting & API Credentials -> livePAYPAL_LIVE_CLIENT_ID=[YOUR_PAYPAL_LIVE_CLIENT_ID]PAYPAL_LIVE_CLIENT_SECRET=[YOUR_PAYPAL_LIVE_CLIENT_SECRET_KEY]# PayPal Webhook settingsPAYPAL_WEBHOOK_ID=[YOUR_PAYPAL_WEBHOOK_URL]SHOP_URL=[YOUR_SHOP_URL]
- Activate PayPal from Pixer admin dashboard. (e.g. webhook URL is coming from local development. This static link will dynamically generated in live environment)
How to create & setup PayPal information properly?
- Create an account in https://developer.paypal.com
- Choose sandbox if your are testing your development environment.
- Click on
Default Applicaiton
. or create a new App. - You will get your Sandbox API credentials. Copy & paste those inside Pixer app .env file like mentioned above.
- You will find the Webhook ID and link too.
Then Add the webhook events if you want to up & running the services.
- PAYMENT.CAPTURE.COMPLETED
- PAYMENT.CAPTURE.PENDING
- PAYMENT.CAPTURE.CANCELLED
- PAYMENT.CAPTURE.REVERSED
At last, For going live with your application please follow this official documentation. https://developer.paypal.com/docs/archive/paypal-here/sdk-dev/going-live/