PayPal Express Checkout Configuration

1 2 >
Posted: August 27, 2015 at 3:30 PM Quote #150741
I've installed the PPX plugin, but I cannot figure out how to configure it.  The configuration page request an API Signature, Username, and Password.....

I created an app on the developer paypal com site.  it has assigned the app a "Credential Pair" consisting of Client ID and Secret.  There is no "API Signature".

What am I missing?  How do I configure the PPX Plugin?

Thank you in advance for your advice and assistance.

JohnJ
This post/answer is useful
0
This post/answer is not useful

Please login or register
to vote for this post.

(click on this box to dismiss)
Posted: August 28, 2015 at 2:09 AM Quote #150760
cnsJohn wrote:
I've installed the PPX plugin, but I cannot figure out how to configure it.  The configuration page request an API Signature, Username, and Password.....

I created an app on the developer paypal com site.  it has assigned the app a "Credential Pair" consisting of Client ID and Secret.  There is no "API Signature".

What am I missing?  How do I configure the PPX Plugin?

Thank you in advance for your advice and assistance.

JohnJ


If u checked business account in NOP ur payment will not work if u dont have PayPal PRO.
Uncheck business account in PayPal Express plugin and add only email.

This post/answer is useful
0
This post/answer is not useful

Please login or register
to vote for this post.

(click on this box to dismiss)
Kind Regards
Marko Krstic (SocialBug Founder)

https://www.mlm-socialbug.com
Email: [email protected]
Posted: September 20, 2016 at 4:21 AM Quote #175567
Hi,

I have Paypal Express on my site, but ow do I add it to the 'topcart'?

Thanks
Neil
This post/answer is useful
0
This post/answer is not useful

Please login or register
to vote for this post.

(click on this box to dismiss)
Posted: September 20, 2016 at 5:47 AM Quote #175569
neilzb wrote:
Hi,

I have Paypal Express on my site, but ow do I add it to the 'topcart'?

Thanks
Neil


Do you want it in flout cart? if yes

Create a partial view in Shared folder with following code and then call it


@using Nop.Core
@using Nop.Core.Domain.Orders
@using Nop.Core.Infrastructure
@using Nop.Services.Orders
@using Nop.Services.Payments
@{


    #region Button payment methods

    var currentCustomer = EngineContext.Current.Resolve<IWorkContext>().CurrentCustomer;
    var _storeContext = EngineContext.Current.Resolve<IStoreContext>();
    var _paymentService = EngineContext.Current.Resolve<IPaymentService>();
    var cart = currentCustomer.ShoppingCartItems
                .Where(sci => sci.ShoppingCartType == ShoppingCartType.ShoppingCart)
                .LimitPerStore(_storeContext.CurrentStore.Id)
                .ToList(); ;
    var paymentMethods = _paymentService
        .LoadActivePaymentMethods(currentCustomer.Id, _storeContext.CurrentStore.Id)
        .Where(pm => pm.PaymentMethodType == PaymentMethodType.Button)
        .Where(pm => !pm.HidePaymentMethod(cart))
        .ToList();
    foreach (var pm in paymentMethods)
    {
        if (cart.IsRecurring() && pm.RecurringPaymentType == RecurringPaymentType.NotSupported)
        {
            continue;
            
        }

            string actionName;
            string controllerName;
            RouteValueDictionary routeValues;
            pm.GetPaymentInfoRoute(out actionName, out controllerName, out routeValues);

       @Html.Action(actionName, controllerName, routeValues)
        
      
    }

    #endregion
}


let's say file name _PaypalExpressCheckoutButton.cshtml in path: ~\Views\Shared\_PaypalExpressCheckoutButton.cshtml  

Call it like bellow  from the file ~\Views\ShoppingCart\FlyoutShoppingCart.cshtml


  @Html.Partial("_PaypalExpressCheckoutButton")


Note: It will load all Button type payment mentods
This post/answer is useful
0
This post/answer is not useful

Please login or register
to vote for this post.

(click on this box to dismiss)
Need help in any of these areas-Elastic search| Customization| Plugins| Themes| Upgrade| Server Setup (Hosting) |Consultancy| API? I’m just a click way!
Email: [email protected]
Skype: [email protected], sohel.bs23
Web: http://www.nop-station.com/
Posted: September 20, 2016 at 6:39 AM Quote #175572
hi, thats brilliant, thank you! I really do appreciate your help.

can you tell me how to add it to the productAddedToCartWindow?
This post/answer is useful
0
This post/answer is not useful

Please login or register
to vote for this post.

(click on this box to dismiss)
Posted: September 20, 2016 at 8:28 AM Quote #175579
neilzb wrote:
hi, thats brilliant, thank you! I really do appreciate your help.

can you tell me how to add it to the productAddedToCartWindow?


You can use the following code directly



<a class="button-paypal payPalExpressCheckoutButton" id="payPalExpressCheckoutButton" href="/Plugins/PaymentPayPalExpressCheckout/SubmitButton" >payPalExpressCheckoutButton</a>




This post/answer is useful
0
This post/answer is not useful

Please login or register
to vote for this post.

(click on this box to dismiss)
Need help in any of these areas-Elastic search| Customization| Plugins| Themes| Upgrade| Server Setup (Hosting) |Consultancy| API? I’m just a click way!
Email: [email protected]
Skype: [email protected], sohel.bs23
Web: http://www.nop-station.com/
Posted: September 20, 2016 at 8:31 AM Quote #175580
Hi,
sorry to ask a silly question, but where should I put that code?
This post/answer is useful
0
This post/answer is not useful

Please login or register
to vote for this post.

(click on this box to dismiss)
Posted: September 20, 2016 at 8:34 AM Quote #175581
neilzb wrote:
Hi,
sorry to ask a silly question, but where should I put that code?


Do you know how productAddedToCartWindow  open?
This post/answer is useful
0
This post/answer is not useful

Please login or register
to vote for this post.

(click on this box to dismiss)
Need help in any of these areas-Elastic search| Customization| Plugins| Themes| Upgrade| Server Setup (Hosting) |Consultancy| API? I’m just a click way!
Email: [email protected]
Skype: [email protected], sohel.bs23
Web: http://www.nop-station.com/
Posted: September 20, 2016 at 8:56 AM Quote #175582
i may have sorted it? Thank you so much for your help!
This post/answer is useful
0
This post/answer is not useful

Please login or register
to vote for this post.

(click on this box to dismiss)
Posted: December 07, 2016 at 6:52 PM Quote #179883
hi Guys,
I downloaded and configured this plugin fine and it works perfectly with the logged in users. But when a user is not logged in and they try to go to payment by clicking this express checkout button, it shows a nopcommerce error screen.

"We're sorry, an internal error occurred.

Our supporting staff has been notified of this error and will address the issue shortly.

We apologize for the inconvenience.

Please try clicking your browsers 'back' button or try reloading the home page.  

If you continue to receive this message, please try again in a little while.

Thank you for your patience.
"

Can we asked the user to login instead, or is there a way that this could work with Guest Checkouts?

thanks
This post/answer is useful
0
This post/answer is not useful

Please login or register
to vote for this post.

(click on this box to dismiss)
1 2 >
Premium support services
  • Dedicated premium support services provided by core developers are intended for persons who run mission critical websites, work on projects with tight deadlines, or want to get dedicated support.
Professional services
  • Want to open a new store? Want to take your store to the next level? Need a custom extension? We can customize nopCommerce to fit your store perfectly. Request a quote to get started.