Webiant Logo Webiant Logo
  1. No results found.

    Try your search with a different keyword or use * as a wildcard.

Configure.cshtml

@model ConfigurationModel
@using Nop.Web.Framework.Models.AdminAreaTour

@{
    Layout = "_ConfigurePlugin";

    //tour step
    ViewBag.TourStep = TourStep.PaymentPayPal;

    var learnMore = "

Learn more about the PayPal Commerce plugin configuration here.

"; } @await Html.PartialAsync("_AdminTour") @await Component.InvokeAsync(typeof(StoreScopeConfigurationViewComponent)) @if (Model.IsConfigured) { @await Component.InvokeAsync(typeof(SettingModeViewComponent)) }
@T("Plugins.Payments.PayPalCommerce.Onboarding.Title")

Complete onboarding to configure the plugin automatically and start accepting PayPal payments in your store.
This only works in production, if you want to test the functionality first, use the sandbox mode, you need to manually create REST API app and get its credentials. If you choose the sandbox mode, then PayPal Commerce integration will be used for testing purposes.
Read more about Seller Protection Policy.


@if (Model.OnboardingModel.DisplayStatus) {
@if (Model.OnboardingModel.AccountCreated) { } else { } @T("Plugins.Payments.PayPalCommerce.Onboarding.Process.Account")
@if (Model.OnboardingModel.EmailConfirmed) { } else { } @T("Plugins.Payments.PayPalCommerce.Onboarding.Process.Email")
@if (Model.OnboardingModel.PaymentsReceivable) { } else { } @T("Plugins.Payments.PayPalCommerce.Onboarding.Process.Payments")
@if (Model.OnboardingModel.PermissionGranted) { } else { } @T("Plugins.Payments.PayPalCommerce.Onboarding.Process.Permission")

}
@if (!string.IsNullOrEmpty(Model.OnboardingModel.SignUpUrl)) { @T("Plugins.Payments.PayPalCommerce.Onboarding.Button") } else if (!string.IsNullOrEmpty(Model.OnboardingModel.MerchantGuid)) { }
@Html.Raw(learnMore)

You must set up your development environment to get OAuth 2.0 client ID and secret credentials for the sandbox and live environments.
Follow these steps to generate REST API credentials:
1. Log into the Developer Dashboard with your PayPal account credentials. If you don't have an account, you can click on the sign up option.
2. On My Apps & Credentials, use the toggle to switch between live and sandbox testing apps.
3. Navigate to the REST API apps section and click Create App.
4. Type a name for your app and click Create App. The app details page opens and displays your credentials.
5. Copy and save the client ID and secret for your app.
6. Review your app details and save your app.

@if (Model.IsConfigured) {
@T("Plugins.Payments.PayPalCommerce.Prominently")

Build customer trust with PayPal branding on your website.
Feature the PayPal button on all pages that initiate checkout. Including PayPal branding early in the checkout experience helps increase site conversion. You can also attract new customers to your site by announcing PayPal acceptance.
TIP: You can find more PayPal logos and banners on PayPal Logo Center

}
@Html.Raw(learnMore)