You have no items in your shopping cart.

Tuesday, September 17, 2019 7:47:25 AM

Using Paypal plugins on website that does not ship product

Avatar

Posted: one year ago

#8068 Quote

bcdiesel

Posted: one year ago

#8068 Quote
Hello,

I've tried a couple of your Paypal payment plugins for my Nop 3.9 store but they don't seem to work in a production environment. I'm wondering if it's just a simple code update on your end that would allow us to be able to use it in our store.

Paypal's API seems to want a shipping address for the transaction, I'm guessing to do an address verification (I could be way off - I don't know). However, since my store does not ship physical product, there is no shipping address to pass long. I think the Paypal Standard plugin that comes with NopCommerce deals with this by substituting the billing address for the shipping address if "shipping not required" is true.

Does that sound like the problem I might be having? Is that an easy fix? When I got the error messages from Paypal during testing, I believe it said something about null address.


Thanks
Travis
Avatar

Posted: one year ago

#8069 Quote

Support

Posted: one year ago

#8069 Quote
One moment. I'll check it.
Avatar

Posted: one year ago

#8070 Quote

Support

Posted: one year ago

#8070 Quote
Answer from PayPal support

Unfortunately the option to do REST API on behalf of an account is not available at this moment. You would need to use the NVP classic API for this option." This is 2017, and I've seen comments from PayPal in 2013 saying that it's 'coming soon'!


But I saw that PayPal added support

NO_SHIPPING

I'll see how to solve tit.
Avatar

Posted: one year ago

#8071 Quote

Support

Posted: one year ago

#8071 Quote
PayPal added several months ago new feature for payments without any shipping address, but .NET API library doesn't have it.
I see only one solution to use billing address as a shipping address.
I'll do new release.
Avatar

Posted: one year ago

#8072 Quote

Support

Posted: one year ago

#8072 Quote
I did it. Try new release 1.08.
Avatar

Posted: one year ago

#8083 Quote

bcdiesel

Posted: one year ago

#8083 Quote
I was going to try the PayPal Plus plugin, but during testing, it appears that the plugin is telling Paypal that I'm located in Germany and does not display English, and on the Paypal login form it has all German location information. I noticed in the URL that it's passing the "country=DE" parameter to Paypal.

I've installed the PayPal Standard Pro plugin in the meantime and will advise whether your update has fixed the problem once I get a few customers to try it.


Thanks
Avatar

Posted: one year ago

#8086 Quote

Support

Posted: one year ago

#8086 Quote
Plugin used customer's settings from browser, but most of customers where from Germany and they notices that sometimes PayPal display message in English.
I decided to use static value.
You can change them in the file PaymentInfo.cshtml
Comment them.

        var ppp = PAYPAL.apps.PPP({
            "approvalUrl": "@Html.Raw(Model.ApprovalUrl)",
            "placeholder": "ppplus",
            "mode": "@Model.Mode",
//            "language": "de_DE",
//            "country": "DE",

            "language": "@Model.Language",
            "country": "@Model.Country",
            "showPuiOnSandbox":"true",
            showLoadingIndicator: true,
            onLoad: function() {
                $('#ppplus iframe').width('100%');
                }
        });
        $(document).ready(function () {
            $('.payment-info-next-step-button, .confirm-order-button').hide();
            //$('.payment-info-next-step-button, .confirm-order-button').show().prop("onclick", null).unbind().click(submitpaypalplus);
       });


Or download new ZIP file from our site.
I changed plugin and build the new release with this fix.

PayPal works only in several countries.
Avatar

Posted: one year ago

#8101 Quote

bcdiesel

Posted: one year ago

#8101 Quote
Seems to work now, thank you
Avatar

Posted: one year ago

#8105 Quote

Support

Posted: one year ago

#8105 Quote
No problem.
Can you write a review about our support?
https://www.nopcommerce.com/p/2689/paypal-plus-foxnetsoftcom.aspx

We want to populate them.
Thank you too.
Avatar

Posted: 4 months ago

#8802 Quote

miket

Posted: 4 months ago

#8802 Quote
I understood the workaround was to specify billing address instead of shipping
However now I noticed Nop.Plugin.Payments.PayPalStandard from v3.80 doesn't include any shipping information to PayPal request, but this plugin still does.
Is it now possible to remove shipping details from the plugin ?

FoxNetSoft.PayPalStandardPro


Nop.Plugin.Payments.PayPalStandard
Avatar

Posted: 4 months ago

#8803 Quote

miket

Posted: 4 months ago

#8803 Quote
seems embedding pictures is not working
Here are some screenshots:

FoxNetSoft.PayPalStandardPro https://drive.google.com/open?id=1Eq2CxugrBl9njLx7xOK9Kk1GBI6Sktre

Nop.Plugin.Payments.PayPalStandard https://drive.google.com/open?id=1NOpfaGgwbPoMp2lajq9-L1LMvNaiGjz-
Avatar

Posted: 4 months ago

#8804 Quote

Support

Posted: 4 months ago

#8804 Quote
PayPal recommends to send shipping address too.
It's anti-fraud protection.

Powered by nopCommerce

Copyright © 2019 FoxNetSoft. All rights reserved