/ Dukungan / Panduan / E-commerce / Mengatur PayPal dengan Dazzly

Panduan langkah demi langkah ini akan menunjukkan kepada Anda cara menambahkan PayPal ke Website Ecommerce Dazzly Anda. Anda harus memiliki akun dengan PayPal untuk memulai. Jika Anda belum memiliki akun PayPal, silakan kunjungi PayPal untuk membuat satu.

time required 5-10 minutes

paypal account types and eligibility
Catatan: Anda harus memiliki 'Akun Bisnis' untuk dapat menerima pembayaran melalui PayPal.
  1. Sign-in to your PayPal Developer account

    Pertama-tama, masuk ke PayPal dengan mengklik tombol 'Masuk ke Dashboard' berwarna biru di pojok kanan atas halaman.

    paypal developer home page
    PayPal Login form.
  2. Apps & Credentials

    Once logged in it should take you to the PayPal Developer Dashboard. By default, 'Sandbox' mode is enabled. Toggle the 'Live' button as outlined in red to switch to 'Live' mode and then click 'Apps & Credentials'.

    paypal developer dashboard
    Dashboard Pengembang PayPal
  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. Perbarui pengaturan PayPal di dalam Dazzly

    Dalam Dazzly, pilih menu Ecommerce, kemudian 'Terima Pembayaran' dan kemudian 'PayPal'. Salin 'Client ID' dan 'Secret' dari langkah sebelumnya ke dalam bidang 'App Client ID' dan 'App Secret' di Dazzly.

    paypal creds to dazzly
    Salin ID Klien dan Rahasia dari PayPal ke Dazzly.
  5. Buat Webhook

    Back in the PayPal Developer dashboard, scroll down to the Live Webhooks section and click the 'Add Webhook' button.

    Catatan: Webhook adalah cara untuk membantu PayPal berkomunikasi dengan Dazzly.

    paypal live webhooks
    Press the blue 'Add Webhook' button.
  6. Pilih acara 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 'Checkout order completed'. Select this checkbox and Save.

    paypal checkout order completed webhook
    Enter the URL and select the event: 'Checkout order completed'.
  7. Dapatkan ID Webhook

    Setelah disimpan, seharusnya menunjukkan 'Webhook' dengan 'ID Webhook'.

    paypal webhook id
    Setelah mengklik Simpan, Webhook baru harus menunjukkan 'ID Webhook'.
  8. Simpan pengaturan PayPal di Dazzly

    Salin 'Webhook ID' dari langkah sebelumnya ke bidang terakhir di Dazzly. Seperti yang ditunjukkan di merah. Klik 'Simpan'.

    paypal webhook into dazzly
    Salin 'Webhook ID' ke dalam bidang 'Webhook' Dazzly.
  9. Publikasikan

    Jangan lupa untuk menekan 'Publikasikan' untuk memperbarui situs web Anda. Setelah dipublikasikan, PayPal kemudian harus tersedia sebagai opsi checkout.

    publish your dazzly website
    Ingatlah untuk Menerbitkan setelah membuat perubahan.