រំលងទៅមាតិកាចម្បង

ស្វែងរក

វាយពាក្យ ឬសំណួរដើម្បីស្វែងរកអត្ថបទជំនួយ។

តើខ្ញុំត្រូវបិទភ្ជាប់អាសយដ្ឋានសារទូទាត់ទៅក្នុង Razorpay, Stripe ឬ PayPal យ៉ាងដូចម្តេច?

នៅក្នុងរឿងនេះ

ទីតាំង: Settings → Readers & money → Connections → Payments

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

មុនពេលចាប់ផ្តើម

  • Connect Razorpay, Stripe or PayPal first. See Payments.
  • You must be the site owner.

ជំហានអនុវត្ត

Stripe and PayPal: Keynate sets up the payment messages in your account for you when it can. The card says "Payment messages are set up in Stripe for you." If it can't, it says "One more step" and a បញ្ចប់ការដំឡើង button. Follow the steps below.

Razorpay: it can't be done for you. The Razorpay card has a guided 3-step box with a live check: Waiting for Razorpay's first message… turns into We received Razorpay's first message. after your first payment, test or real. Press ពិនិត្យឥឡូវនេះ to look again. See Connect Razorpay.

The steps for any gateway:

  1. Open ការកំណត់ → អ្នកអាន និងចំណូល → ការតភ្ជាប់ → ការទូទាត់ប្រាក់.
  2. On the card of your gateway, find the box Webhook.
  3. Press Open webhooks (the button names your gateway). The gateway's dashboard opens in a new tab.
  4. In the gateway, press បន្ថែម.
  5. Back in Keynate, press ចម្លង next to the Webhook URL and paste it in the gateway.
  6. Tick the events listed in the Keynate box.
  7. Razorpay: press ចម្លង on the secret code and paste it as the secret. Use a different secret for test and live.
  8. Save it in the gateway.
  9. Stripe and PayPal show a code after saving. Stripe calls it the signing secret and it starts with whsec_. PayPal calls it the Webhook ID. Copy it and paste it in the matching box in Keynate.
  10. Press សាកល្បងការភ្ជាប់.

គួរយល់ដឹង

  • Test mode and live mode each need their own webhook.
  • If you lose the secret, add a new webhook in the gateway and paste the new code.

បញ្ហាជួបញឹកញាប់

  • "Paste the webhook secret you typed in Razorpay." The box in Keynate is empty. Paste the same secret you gave Razorpay.
  • "Use a different webhook secret for test and live." Make a new secret for the second mode.
  • "Paste the webhook signing secret. It starts with whsec_." Copy it from Stripe after you add the endpoint.
  • "Paste the Webhook ID (letters and numbers only)." Copy the ID from your PayPal app's Webhooks list.
  • Razorpay still says "Waiting for Razorpay's first message…". Make a small test payment. The message arrives after the first payment. Then press ពិនិត្យឥឡូវនេះ.
  • An order stays unpaid after the reader paid. The webhook is missing or wrong. Each night Keynate also compares your orders with your gateway and fixes missed ones.

សំណួរ

សំណួរដែលសួរញឹកញាប់

Is this the same as an API key?

No. The keys let Keynate talk to the gateway. The webhook lets the gateway talk to Keynate.

Do I need a webhook for test and live?

Yes. Test mode and live mode each need their own.

What if I lose the secret?

Add a new webhook in the gateway and paste the new code in Keynate.

What if an order stays unpaid even though the reader paid?

The webhook is missing or wrong. Each night Keynate also compares your orders with your gateway and fixes missed ones.

ទាក់ទង

មតិកែលម្អ

តើ វា ជួយ អ្វី ខ្លះ?

មានជាភាសាផ្សេងទៀតផងដែរ

នៅតែត្រូវការជំនួយមែនទេ?