/ Suporta / Mga Gabay / Ecommerce / Pag-set up ng PayPal gamit ang Dazzly

This step-by-step guide will show you how to add PayPal to your Dazzly Ecommerce Website. You will need to have an account with PayPal to begin. If you don't have a PayPal account yet, please visit PayPal to create one.

time required 5-10 minutes

paypal account types and eligibility
Tandaan: Dapat kang magkaroon ng 'Business Account' upang makatanggap ng mga bayad sa pamamagitan ng PayPal.
  1. Mag-sign in sa iyong PayPal Developer account

    Una, mag-login sa PayPal sa pamamagitan ng pag-click sa asul na 'Log into Dashboard' na button sa kanang itaas ng pahina.

    paypal developer home page
    PayPal Login na form.
  2. Apps at Mga Kredensyal

    Kapag naka-log in, dadalhin ka nito sa PayPal Developer Dashboard. Sa default, naka-enable ang 'Sandbox' mode. I-toggle ang 'Live' button gaya ng nakasaad sa pula upang lumipat sa 'Live' mode at pagkatapos ay i-click ang 'Apps & Credentials'.

    paypal developer dashboard
    PayPal Developer Dashboard
  3. API Credentials

    This should bring up the 'Activation_App' section. You should see a Client ID and a Secret key. You can use the copy-to-clipboard buttons (outlined in red) to copy each of these into Dazzly as shown in the next step.

    paypal live api credentials section
    This shows your default PayPal app, Client ID, and Secret key.
  4. Update PayPal settings within Dazzly

    Sa loob ng Dazzly, piliin ang menu ng Ecommerce, pagkatapos ay 'Receive Payments' at pagkatapos ay 'PayPal'. Kopyahin ang iyong 'Client ID' at 'Secret' mula sa nakaraang hakbang sa mga patlang na 'App Client ID' at 'App Secret' sa Dazzly.

    paypal creds to dazzly
    Copy the Client ID and Secret from PayPal over to Dazzly.
  5. Create a Webhook

    Balik sa PayPal Developer dashboard, mag-scroll pababa sa Live Webhooks na seksyon at i-click ang 'Add Webhook' na button.

    Tandaan: Ang Webhook ay isang paraan upang matulungan ang PayPal na makipag-ugnayan sa Dazzly.

    paypal live webhooks
    Pindutin ang asul na button na 'Add Webhook'.
  6. Piliin ang kaganapan ng Webhook

    Enter https://api.prod.dazzly.co/integrations/paypal/webhooks into the input box at the top. Scroll down the list of 'Event types' to find 'Payment capture completed'. Select this checkbox and Save.

    paypal checkout order completed webhook
    Enter the URL and select the event: 'Payment capture completed'.
  7. Kunín ang Webhook ID

    Once saved, it should show the 'Webhook' with a 'Webhook ID'.

    paypal webhook id
    Pagkatapos i-click ang Save, dapat ipakita ng bagong Webhook ang 'Webhook ID'.
  8. Save PayPal settings in Dazzly

    Kopyahin ang 'Webhook ID' mula sa nakaraang hakbang papunta sa huling field sa Dazzly. Tulad ng ipinapakita na naka-outline sa pula. I-click ang 'Save'.

    paypal webhook into dazzly
    Kopyahin ang 'Webhook ID' sa 'Webhook' field ng Dazzly.
  9. Publish

    Huwag kalimutang pindutin ang 'I-publish' upang i-update ang iyong website. Pagkatapos ng Pag-publish, dapat na maging available ang PayPal bilang isang opsyon sa pag-checkout.

    publish your dazzly website
    Remember to Publish after making changes.