Order Of Paypal Express Payment

Feb 22, 2012 at 4:44 AM

Currently Paypal express plugin doesn't work for me with the shipping options after selecting paypal express.  However if I go forward and select a shipping option and then go back and select paypal express IT WORKS?


So how do I change the paypal express button to after the shipping option is selected?

Coordinator
Feb 22, 2012 at 1:38 PM

This is actually the big problem with PayPal Express, you need to use a default shipping method and cost.

We will investigate to find a better solution, but now we are limited...

To answer your question, you can find this code in OrderSummary.cshtml :

<div class="addon-buttons">

@*Payment method buttons (e.g. GoogleCheckoutButton, Paypal Express)*@
@if (Model.ButtonPaymentMethodActionNames != null && Model.ButtonPaymentMethodActionNames.Count > 0)

{

 for (int i = 0; i < Model.ButtonPaymentMethodActionNames.Count; i++)

 

  {

  @Html.Action(Model.ButtonPaymentMethodActionNames[i], Model.ButtonPaymentMethodControllerNames[i], Model.ButtonPaymentMethodRouteValues[i])

  }

}

 

</div>

The code is conditionned by @if (Model.IsEditable)

If you move the code out of this if statment, PayPal Express button should appear everywhere in the chechout process. It could be a first step to see if it's efficient to select shipping methods before calling paypal express

 

Feb 26, 2012 at 8:45 PM
Edited Feb 27, 2012 at 6:32 PM

Okay I moved it outside the statment and the buton appears all through the process, Still no order taken in nop or money sent to paypal.