From cb1d3487af97a8e9c5eecd35f59d0121049f3743 Mon Sep 17 00:00:00 2001 From: alannnc Date: Fri, 15 Sep 2023 03:16:28 -0700 Subject: [PATCH] chore: edit and update paypal setup instructions (#11325) --- .../app-store/paypal/pages/setup/index.tsx | 66 ++++++++++++++++--- 1 file changed, 57 insertions(+), 9 deletions(-) diff --git a/packages/app-store/paypal/pages/setup/index.tsx b/packages/app-store/paypal/pages/setup/index.tsx index 3bcb54fed6..b4745360ae 100644 --- a/packages/app-store/paypal/pages/setup/index.tsx +++ b/packages/app-store/paypal/pages/setup/index.tsx @@ -1,3 +1,4 @@ +import { AlertCircleIcon } from "lucide-react"; import Link from "next/link"; import { useRouter } from "next/navigation"; import { useState } from "react"; @@ -79,29 +80,76 @@ export default function PayPalSetup() {
-

Setup instructions

+

Getting started with Paypal APP

+

+ Here in Cal.com we offer Paypal as one of our payment gateway. You can use your own Paypal + Business account to receive payments from your customers enabling and setting up price and + currency for each of your event types. +

-
    +

    + Important requirements: +

    +
      +
    • Paypal Business account
    • +
    • Paypal Developer account
    • +
    + +

    Resources:

    + + Link to Paypal developer API REST Setup Guide: + https://developer.paypal.com/api/rest/#link-getclientidandclientsecret + + +

    Setup instructions

    +

    + Remember to only proceed with the following steps if your account has already been upgraded to + a business account. Also keep in mind that some of the following steps might be different + since Paypal offers different experiences based on your country. +

    + +
      {/* @TODO: translate */}
    1. Log into your Paypal Developer account and create a new app{" "} {t("here")} .
    2. Choose a name for your application.
    3. -
    4. Select Online payments solution.
    5. -
    6. Choose "No" for "Using online platform".
    7. -
    8. CheckoutAPI as integration product.
    9. -
    10. Accept terms and Create APP.
    11. -
    12. Go back to dashboard, click on new app and copy the credentials.
    13. +
    14. Click on the Create App button
    15. + +
    16. + Go back to{" "} + + dashboard + + , click on new app created. +
    17. +
    18. Copy the Client ID and Secret Key using copy buttons one by one.
    19. Paste them on the required field and save them.
    20. -
    21. You're all setup.
    22. +
    23. You should be all setup after this.
    +

    + + Reminder: +

    +

    + Our integration creates a specific webhook on your Paypal account that we use to report back + transactions to our system. If you delete this webhook, we will not be able to report back and + you should Uninstall and Install the app again for this to work again. Uninstalling the app + won't delete your current event type price/currency configuration but you would not be + able to receive bookings. +