Ugrás a fő tartalomra

Keresés

Írj be egy szót vagy kérdést a súgócikkek közötti kereséshez.

Hogyan csatlakoztathatom a Razorpayt?

A cikkben

Hol: Settings → Readers & money → Connections → Payments

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

Mielőtt elkezdené

  • A Razorpay account. Start in Teszt mód in Razorpay.
  • You must be the site owner.

Lépések

  1. In the Razorpay dashboard, switch to Teszt mód.
  2. Go to Beállítások → Haladó → Egyéb appok összekapcsolása → API-kulcsok and generate a key. Copy the key id and key secret. Razorpay shows the secret only once.
  3. In Keynate, open Beállítások → Olvasók és bevételek → Kapcsolatok → Fizetések and press Razorpay összekapcsolása (or Kapcsolat hozzáadása).
  4. Choose Teszt mód. Paste the Kulcsazonosító (Key ID) (it starts with rzp_test_), the Titkos kulcs (Key secret) and the Webhook titkos kód (Secret).
  5. Press Razorpay összekapcsolása at the bottom of the sheet.
  6. On the card, find Engedd, hogy a Razorpay értesítse a webhelyedet a fizetésekről. Razorpay doesn't let other apps do this for you, so it is one minute in Razorpay. It has 3 steps:
    1. Open Razorpay → Webhookok and press Add New Webhook.
    2. Fill Razorpay's form with the Webhook URL, the Titkos kulcs and the Active events (tick each one). Each has a Másolás button. The secret is shown only once. If you lost it, press Szerkesztés, then Új titkos kód generálása nekem.
    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 Ellenőrzés most to look again. Later, Lépések megjelenítése újra opens the steps.
  8. Press Kapcsolat tesztelése 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).

Jó tudni

  • 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.

Gyakori problémák

  • "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."

Kérdések

Gyakran ismételt kérdések

Where is the Razorpay key page?

The sheet has a link that opens it in a new tab, and the page side panel has Razorpay API-kulcsok megnyitása and Razorpay webhookok megnyitása.

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 Teszt mód before you create keys.

Kapcsolódó témák

Visszajelzés

Hasznos volt?

Elérhető még ezen a nyelven is:

Még mindig segítségre van szükséged?