Yana kokuqukethwe okuyinhloko

Sesha

Bhala igama noma umbuzo ukuze useshe izihloko zosizo.

Ngiyixhuma kanjani i-Razorpay?

Kule ndaba

Kuphi: Settings → Readers & money → Connections → Payments

Open this page: admin.<your-site>/settings/connections/payments (replace <your-site> with your site address)

Ngaphambi kokuqala

  • A Razorpay account. Start in Imodi yokuhlola in Razorpay.
  • You must be the site owner.

Izinyathelo

  1. In the Razorpay dashboard, switch to Imodi yokuhlola.
  2. Go to Izilungiselelo → Okuthuthukile → Xhuma ezinye izinhlelo zokusebenza → Izikhiye ze-API and generate a key. Copy the key id and key secret. Razorpay shows the secret only once.
  3. In Keynate, open Izilungiselelo → Abafundi nemali → Ukuxhumana → Izinkokhelo and press Xhuma i-Razorpay (or Faka uxhumano).
  4. Choose Imodi yokuhlola. Paste the I-ID yokhiye (it starts with rzp_test_), the Imfihlo yokhiye and the Imfihlo ye-webhook.
  5. Press Xhuma i-Razorpay at the bottom of the sheet.
  6. On the card, find Vumela i-Razorpay itshele isayithi lakho ngezinkokhelo. Razorpay doesn't let other apps do this for you, so it is one minute in Razorpay. It has 3 steps:
    1. Open Razorpay → Ama-webhook and press Add New Webhook.
    2. Fill Razorpay's form with the I-URL ye-webhook, the Imfihlo and the Active events (tick each one). Each has a Kopisha button. The secret is shown only once. If you lost it, press Hlela, then Ngenzele ikhodi eyimfihlo entsha.
    3. Press Create Webhook. Then make a small test payment.
  7. Watch the line under the steps. It says Waiting for Razorpay's first message… and turns green with We received Razorpay's first message. when it works. Payments then show as paid by themselves. Press Hlola manje to look again. Later, Bonisa izinyathelo futhi opens the steps.
  8. Press Hlola ukuxhumana on the card, then make a test payment.
  9. When it works, press Go live with Razorpay in the Test mode bar and add your live keys (rzp_live_). For live mode the card turns green after your first real payment.

More help: Payment messages (webhook).

Kuhle ukukwazi

  • Key ids must start with rzp_test_ for test mode or rzp_live_ for live mode.
  • Use a different webhook secret for test and live.

Izinkinga ezijwayelekile

  • "Key ids start with rzp_test_ (test mode) or rzp_live_ (live mode). Copy it from the API keys page inside your Razorpay dashboard."
  • "Paste the key secret. Razorpay shows it only once, when you create the key." Generate a new key if you lost it.
  • "Paste the webhook secret you typed in Razorpay."

Imibuzo

Imibuzo evame ukubuzwa

Where is the Razorpay key page?

The sheet has a link that opens it in a new tab, and the page side panel has Vula okhiye be-API ye-Razorpay and Vula ama-webhook e-Razorpay.

How do I know the webhook works?

The card shows We received Razorpay's first message. until then it says Waiting for Razorpay's first message…. If Stripe or PayPal are also on, the card can't tell which sent a message and says so. If you did it once already, nothing more to do.

Where is the test mode switch?

In the Razorpay dashboard. Switch to Imodi yokuhlola before you create keys.

Okuhlobene

Impendulo

Ingabe lokhu bekusiza?

Itholakala futhi nge-

Usadinga usizo?