PGecom
  • 🚀Introduction
  • đŸŽ¯Guides
    • Getting authenticated
  • 📚Concepts
    • Sandbox Environment
  • 🧑‍đŸ’ģAPI Endpoint
    • Ecommerce
      • đŸ›ī¸Shop
        • GetShopById
        • CreateShop
      • 👔Product
        • ProductSchema
        • GetProductById
        • GetProductBySlug
        • CreateNewProduct
      • 🛒Checkout
        • CreateCheckoutSession
      • Form
        • GetFormById
      • Invoice
        • GetInvoiceById
    • Wordpress Plugin
    • Chrome Extension
    • GiftCards
      • â„šī¸Gift Card Schema
      • ✅List giftcards
      • â˜‘ī¸Order a gift card
      • â˜‘ī¸Get giftcard
      • â˜‘ī¸Rates
    • Send rewards
      • â„šī¸Rewards Schema
      • â˜‘ī¸Send rewards
    • Withdraw
      • â„šī¸Withdraw Schema
      • â˜‘ī¸Process Withdraw
      • â˜‘ī¸Rates
    • Radar
      • â„šī¸Radar Schema
      • â˜‘ī¸Check for Fraudster
    • Top Up
      • â„šī¸Topup Schema
      • â˜‘ī¸Estimate
      • â˜‘ī¸Send
    • Payment
      • Mon Cash
        • CreateMonCashPayment
        • VerifyMonCashPayment
        • WithdrawToMonCashEstimate
        • WithdrawFundsToMonCash
      • PG Pay
        • ConfigurePGPay
        • CreatePGPayPayment
        • VerifyPGPaymentWithToken
        • VerifyPGPaymentWithOrderId
    • Deprecated
      • Card Holder
        • â„šī¸Card Holder Schema
        • â˜‘ī¸Update
      • Card
        • â„šī¸Card Schema
        • ✅Retrieve a single card
        • ✅List cards
        • â˜‘ī¸Create a card
        • â˜‘ī¸Create Customer
  • 🎓Resources
    • Support
    • Production Access
Powered by GitBook
On this page

Was this helpful?

  1. API Endpoint
  2. Payment
  3. PG Pay

ConfigurePGPay

This guide will walk you through how to set up PG Pay as a merchant

PreviousPG PayNextCreatePGPayPayment

Last updated 1 year ago

Was this helpful?

You'll need to navigate to your PGecom account and click on Settings > Developer

Then make sure that you fill out all the information

  • Success Url

  • Error Url

  • Merchant Name

Please keep in mind once you've set the merchant name, you can NOT change it

The Success URL is very important so we can redirect the customer back to your platform

Expect the following params from the success or error URL

  • status=completed&

  • orderId=7f4f7086-74d6-4cd4-bdfa-5e10f761d562

At the your success or error URL will look like this

// Succcess URL - Success

https://sandbox.pgecom.com/payment-success?status=completed&orderId=7f4f7086-74d6-4cd4-bdfa-5e10f761d562

// Error URL - Error
https://sandbo.pgecom.com/payment-error?status=declined

Hope you enjoy PG Pay as much as we enjoy building it 🎉

🧑‍đŸ’ģ
PG Pay Merchant Set Up