Pixer Documentation
WelcomeTech We Have UsedGetting Started
Available Scripts & Command
How Can I use this app
Demo Deploy
Features
Settings
Payment
IntroductionStripePaypalPayPalHow to create & setup PayPal information properly?RazorpayMolliePaystackBitpayCoinbaseIntegratioin of new payment gateway
SEO and Analytics
API
Shop Transfer
WalletEmail Configuration
Multilingual & Translation
FAQ PageContactTerms and conditions
Third-party Integrations
Deployment
Back-End Integration
Customizations
Update & Upgrade Guide
FAQSupportChange Log

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 USD
PAYPAL_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 -> sandbox
PAYPAL_SANDBOX_CLIENT_ID=[YOUR_PAYPAL_SANDBOX_CLIENT_ID]
PAYPAL_SANDBOX_CLIENT_SECRET=[YOUR_PAYPAL_SANDBOX_CLIENT_SECRET_KEY]
# PayPal Setting & API Credentials -> live
PAYPAL_LIVE_CLIENT_ID=[YOUR_PAYPAL_LIVE_CLIENT_ID]
PAYPAL_LIVE_CLIENT_SECRET=[YOUR_PAYPAL_LIVE_CLIENT_SECRET_KEY]
# PayPal Webhook settings
PAYPAL_WEBHOOK_ID=[YOUR_PAYPAL_WEBHOOK_URL]
SHOP_URL=[YOUR_SHOP_URL]
SHOP_URL=[YOUR_SHOP_URL] This parameter is must have in .env file when PayPal is using. Otherwise the payment redirection will be broken.
  • Activate PayPal from Pixer admin dashboard. (e.g. webhook URL is coming from local development. This static link will dynamically generated in live environment)

paypal-Pixer-dashboard

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.

paypal-dashboard-api-keys

  • You will find the Webhook ID and link too.

paypal-webhook