Foodie
  • Introduction
  • Flutter App
    • Getting Started
    • Directory Structure
    • Change App Color theme
    • Chat with Vendor/Delivery Boy
    • Firebase
    • Firebase Phone OTP
    • Google Map
    • Running on Android Studio
    • Running App On VS Code
  • Social Login
    • Google Login
    • Facebook Login
  • Laravel Admin( Backend )
    • Getting Started
    • GUI Installer
    • Change Backend Color
    • App API
    • Payment Callbacks
    • System Settings
    • System Update & Terminal
    • Firebase
      • Firebase Database
    • Web Notification
    • Change Logs
  • Migration
    • ~ 1.3.0
    • ~ 1.5.1
    • ~ 1.6.0
Powered by GitBook
On this page
  • Paystack
  • Razorpay
  • Stripe

Was this helpful?

  1. Laravel Admin( Backend )

Payment Callbacks

PreviousApp APINextSystem Settings

Last updated 4 years ago

Was this helpful?

When using payment gateways like Paystack, Stripe, Razorpay, after every transaction, the payment gateways need to notify our server about the status of the payment.

Here are the list of web hook/callback apis for the integrated payment gateways:

  1. Paystack: https://SERVER_URL/api/order/payment/update/paystack

  2. Razorpay: https://SERVER_URL/api/order/payment/update/razorpay

  3. Stripe: https://SERVER_URL/api/order/payment/update/stripe

How to setup webhooks for different payment gateways.

Paystack

  1. Login into your merchant account.

  2. Click on the settings menu at the bottom left corner of the screen.

  3. On the settings page click on API Keys & Webhooks tab.

  4. Then in the form enter the webhook provided above in the input label Live Webhook URL

Razorpay

Stripe

Here is a link to the official documentation on how to setup webhook on razorpay

Here is a link to the official documentation on how to setup webhook on stripe

https://razorpay.com/docs/webhooks/#set-up-webhooks
https://stripe.com/docs/webhooks/go-live#configure-webhook-settings