I think it's useful to add a new configuration parameter to allow the "store admin" to choose the PayPal landing page when the user will be redirected to the Paypal site. For instance if you want to show the "Don't have a PayPal Account" instead of the default "Have a PayPal account" you can set this parameter: ...&landing_page=billing... name="landing_page" value="billing"
I think it's useful to add a new configuration parameter to allow the "store admin" to choose the PayPal landing page when the user will be redirected to the Paypal site. For instance if you want to show the "Don't have a PayPal Account" instead of the default "Have a PayPal account" you can set this parameter: ...&landing_page=billing... name="landing_page" value="billing"
That's really an amazing find. I definitely need to change this on my store. Where exactly do you insert that code? Thanks!
At the moment I need to show the landing page "Don't have a PayPal Account" so I simply changed the code of the PayPal Standard Plugin on file "/Plugins/Nop.Plugin.Payments.PayPalStandard/PayPalStandardPaymentProcessor.cs" and recompiled it. I added the string "landing_page=billing&" to the method "public void PostProcessPayment(PostProcessPaymentRequest postProcessPaymentRequest)" changing the row "builder.AppendFormat("?cmd={0}&business={1}"...... with builder.AppendFormat("?landing_page=billing&cmd={0}&business={1}"..... This isn't well done, but it works :).
Ok. Thanks! I appreciate you telling me how to do it.
I think your suggestion to have it configurable from the admin would be great for Nopcommerce to add. Maybe one of us should create a work item on Codeplex so we can all vote on it.
For anyone who uses PayPal standard plugin, feel free to head over to codeplex to vote for this work item. Please note, if you don't have an account with codeplex I think you will have to register first in order to vote.(it's simple)
Thanks mauro.introzzi for finding out how to change the default to "Don't have a PayPal account." This is a lot easier on customers who don't have a PayPal account. I am looking forward to having your suggestion added to the official version of Nopcommerce.
salve , Sono italiano e sto utilizzando nopCommerce 3.50 Cortesemente potete dirmi Che plugin di stato utilizzando per pagamento con paypal norma ? Quello di defoult non Riesco a configurarlo in Quanto paypal mi ha comunicato Che l' autenticazione PDT Non E supportata in italia . MA e supportata soltanto Quella API. Grazie
hi, I'm Italian and I'm using nopCommerce 3:50 Please can you tell me What plugin was using to pay with PayPal norm? To defoult I can not configure How paypal told me That 's authentication PDT And not supported in Italy . That only MA and supported APIs . thanks
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
Hai ancora qualche domanda o hai bisogno di aiuto?