Webiant Logo Webiant Logo
  1. No results found.

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

Configure.cshtml

@model ConfigurationModel

@{
    Layout = "_ConfigurePlugin";
    NopHtml.SetActiveMenuItemSystemName($"{PayPalCommerceDefaults.SystemName} Configuration");

    var learnMore = "

Learn more about the PayPal Commerce plugin configuration here.

"; } @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.
Read more about Seller Protection Policy.


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

} @if (!Model.SetCredentialsManually && !string.IsNullOrEmpty(Model.MerchantId)) {
@Model.MerchantId
@if (Model.UseSandbox) {
@T("Plugins.Payments.PayPalCommerce.Onboarding.Sandbox")
} }
@if (!string.IsNullOrEmpty(Model.UseSandbox ? Model.SandboxSignUpUrl : Model.LiveSignUpUrl)) { @T("Plugins.Payments.PayPalCommerce.Onboarding.Button") } else { }
@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. Find the merchant ID of your PayPal account and copy it.
7. Review your app details and save your app.

@if (!Model.IsConfigured || Model.SetCredentialsManually) {
} @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)
@if (await Html.IsTourActiveAsync()) { @await Html.PartialAsync("~/Plugins/Payments.PayPalCommerce/Views/Admin/_Configure.Tour.cshtml") }