You have no items in your shopping cart.

Thursday, April 25, 2024 5:10:04 AM

Console error

Posted: 6 years ago

#5390 Quote

Greg2017

Posted: 6 years ago

#5390 Quote
Hi, am trying pay pal express 3.9 but I get this error when I untick sandbox on my local installation.

component.js:76 Uncaught Error: Invalid env: live
    at Object.validate (component.js:76)

Can you advise please?

Posted: 6 years ago

#5391 Quote

Greg2017

Posted: 6 years ago

#5391 Quote
Hi

I sent a previous email regarding a console error and I think that can be disregarded as I did not have the correct rest settings.

Can I pass the shipping method to paypal upfront so the user doesn't have to select it afterwards?

Thanks

Greg

Posted: 6 years ago

#5392 Quote

Support

Posted: 6 years ago

#5392 Quote
PayPal express doesn't allow to send shipment method.
PayPal recommends to use internal PayPal shipment method mapping (you can set shipment fee).
You can create shipment method and fee in PayPal admin mode.
https://developer.paypal.com/docs/classic/admin/checkout-settings/#auto-calculate-shipping-charges

About error.
1. Do you use the last release from our site?
2. What NopCommerce version do you use?
3. Can clear cache in browser and try again?

Posted: 6 years ago

#5401 Quote

gregory

Posted: 6 years ago

#5401 Quote
Hi, regarding the error "invalid env: live"

About error.
1. Do you use the last release from our site? - downloaded from your site on the 27/04. Description.txt says


2. What NopCommerce version do you use?
3. Can clear cache in browser and try again?

Posted: 6 years ago

#5402 Quote

gregory

Posted: 6 years ago

#5402 Quote
Hi, regarding the error "invalid env: live"

About error.
1. Do you use the last release from our site? - downloaded from your site on the 27/04. Description.txt says

Group: Payment methods
FriendlyName: PayPal Express Checkout
SystemName: FoxNetSoft.PayPalExpressCheckout
Version: 1.00
SupportedVersions: 3.90
Author: FoxNetSoft
DisplayOrder: 1
FileName: FoxNetSoft.Plugin.Payments.PayPalExpressCheckout.dll


2. What NopCommerce version do you use? 3.9

3. Can clear cache in browser and try again? - yes

Posted: 6 years ago

#5403 Quote

Support

Posted: 6 years ago

#5403 Quote
Download new release from our site. We have fixed this bug.

Version: 1.06

Try and write me about result.

Posted: 6 years ago

#5404 Quote

gregory

Posted: 6 years ago

#5404 Quote
Thanks that appears to work well and I like the new option to skip confirmation.

If I purchase a licence what will I need to do to apply it to my live site please?

Posted: 6 years ago

#5405 Quote

Support

Posted: 6 years ago

#5405 Quote
You should put serial number on plugin configure page.
Our robot will send it after purchase.

Posted: 6 years ago

#5406 Quote

gregory

Posted: 6 years ago

#5406 Quote
I don't think the plugin checks the stock levels when a user clicks to buy? If they have been idle on the cart page for sometime and then click to buy, they could end up buying an out of stock option. This isn't a major problem for me at the moment. Thanks.

Posted: 6 years ago

#5407 Quote

Support

Posted: 6 years ago

#5407 Quote
If customer presses the button 'Buy' plugin adds the product into the basket.
NopCommerce checks the stock and product attribute warnings.
If you have another products in the cart you will see all products from the cart in PayPal express checkout page.

Posted: 6 years ago

#6581 Quote
Hi

I have downloaded this today and installed it.

I am getting 2 errors.

1st is that it looks good in sandbox mode but I can't login with any paypal accounts and have to use checkout as guest.

2nd when I turn off sandbox I get this error in the log...

2017.10.02 14:21:54:2826*******
PayPalExpressCheckoutPayment. CreatePayment. CurrentCustomer.Id=1954951, IsCheckout=False, jsonFormData=__RequestVerificationToken=Oq0levYjDfbsITkzY8Ezk7gkuawZlaZc3QFtZcqVUljNJI4EuIpqOZh8jMqltxu2W_YrmgM67mGAJrS_EGPGpZgK-VE1&itemquantity8852=1&checkout_attribute_3=&discountcouponcode=&giftcardcouponcode=&CountryId=0&StateProvinceId=0&ZipPostalCode=
2017.10.02 14:21:54:2826*******
PayPalExpressCheckoutPayment. CreatePayment. FormCollection form
    __RequestVerificationToken-Oq0levYjDfbsITkzY8Ezk7gkuawZlaZc3QFtZcqVUljNJI4EuIpqOZh8jMqltxu2W_YrmgM67mGAJrS_EGPGpZgK-VE1
    itemquantity8852-1
    checkout_attribute_3-
    discountcouponcode-
    giftcardcouponcode-
    CountryId-0
    StateProvinceId-0
    ZipPostalCode-

2017.10.02 14:21:55:0220*******
Error. PayPalService. CreatePayment. (PayPalException).
    PayPal Express Checkout error:  ()

So not sure whether purchasing will fix these?

Thanks

Peter

Posted: 6 years ago

#6582 Quote

Support

Posted: 6 years ago

#6582 Quote
>1st is that it looks good in sandbox mode but I can't login with any paypal accounts and have to use checkout as guest.

Did you change the PayPal settings on plugin configure page?
PayPal sandbox and live have different settings.
Maybe the problem is in browser's cache.
Clear cache in browser and try.
Write me about result.

About second error...
I don't know too....

What nopcommerce version do you use?
Clear cache in browser and try....

If this solution doesn't help you. Please write me I'll add new notification in plugin log file.



Powered by nopCommerce

Copyright © 2023 FoxNetSoft. All rights reserved