PayPal Express Checkout for nopCommerce 3.0 & 3.10

1 2 3 4 5 > ... >
Posted: July 26, 2013 at 7:17 AM Quote #101720
It is our pleasure to release PayPal Express Checkout for nopCommerce 3.0

You can get the source code and download the pre-compiled plugin from Codeplex here:

https://paypalexpressnopcommerce.codeplex.com/


We would love feedback and any bug reports. As this is an initial release, we ask you to test to make sure the plugin is working as you expect.

The plugin supports all shipping methods and mobile integration.

EDIT 12-09-2013
----------------------------
Now all tested and seems to be working well. Please download 3.10 version here. Thanks to the nop team upgrading to 3.10.
This post/answer is useful
3
This post/answer is not useful

Please login or register
to vote for this post.

(click on this box to dismiss)
www.thought.co.uk
Posted: July 26, 2013 at 8:07 AM Quote #101736
Good to have this Plugin, we'll try and update here.

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)
Pls up-vote the answer, if it helps you! :)

nopAccelerate - Faster, Reliable & Scalable nopCommerce

http://www.nopAccelerate.com | http://www.xcellence-it.com | http://shop.xcellence-it.com

Need any professional assistance? Drop us your requirements on [email protected]
Posted: July 26, 2013 at 1:13 PM Quote #101760
I could not get PayPal sandbox to return a token.  It comes back with 3 errors, all related to currency amounts (item amount, order amount, max amount if I recall correctly).  The amounts are being sent as strings with 4 decimal places "0.0000".  I think paypal will only accept 2 decimal places.  I changed all the string amounts to only 2 decimal places ("0.00") and got a token back.
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: July 28, 2013 at 5:16 AM Quote #101835
Hi!
Splended initiative.

I'm newbee in NC and if possible, is there any doc/howto for the plugin?

I tried to install and configure, but when checking out, I get "No payment methods available " when i reach the choice for payment (I have not installed/activated any other methods).

If I try PayPal button in shoppingcart, i get "An error occurred setting up your cart for PayPal".

Also PayPal button does not require check for " I agree with the terms.....".

I'm pretty sure its all my bad, but i need a little kick to get on with the testing.

The error-message looks like this:


Log level:   Error
Short message:   Error passing cart to PayPal
Full message:   10401: Order total is invalid., 10426: Item total is invalid., 10431: Item amount is invalid.

It seems like all numbers are wrong format (dots, commas number of decimals....)

Need advice..

Regards.
This post/answer is useful
3
This post/answer is not useful

Please login or register
to vote for this post.

(click on this box to dismiss)
Posted: July 29, 2013 at 6:17 AM Quote #101889
cds4126 wrote:
I could not get PayPal sandbox to return a token.  It comes back with 3 errors, all related to currency amounts (item amount, order amount, max amount if I recall correctly).  The amounts are being sent as strings with 4 decimal places "0.0000".  I think paypal will only accept 2 decimal places.  I changed all the string amounts to only 2 decimal places ("0.00") and got a token back.


I have a similar problem.

Where do I change number of decimals?

Regards
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: July 29, 2013 at 9:38 AM Quote #101905
kjepaa wrote:
I could not get PayPal sandbox to return a token.  It comes back with 3 errors, all related to currency amounts (item amount, order amount, max amount if I recall correctly).  The amounts are being sent as strings with 4 decimal places "0.0000".  I think paypal will only accept 2 decimal places.  I changed all the string amounts to only 2 decimal places ("0.00") and got a token back.

I have a similar problem.

Where do I change number of decimals?

Regards


Find all ""0.00"", Subfolders, Find Results 1, Current Project: Plugins\Nop.Plugin.Payments.PayPalExpressCheckout\Nop.Plugin.Payments.PayPalExpressCheckout.csproj, ""
  D:\Code\projectsHG\NOPCommerce_30_SIDS\src\Plugins\Nop.Plugin.Payments.PayPalExpressCheckout\Services\PayPalCartItemService.cs(58):                                                                  Value = _taxService.GetProductPrice(item.Product, _priceCalculationService.GetSubTotal(item, true), out taxRate).ToString("0.00")
  D:\Code\projectsHG\NOPCommerce_30_SIDS\src\Plugins\Nop.Plugin.Payments.PayPalExpressCheckout\Services\PayPalOrderService.cs(46):                                       new BasicAmountType {currencyID = currencyCode, Value = cartTotal.ToString("0.00")},
  D:\Code\projectsHG\NOPCommerce_30_SIDS\src\Plugins\Nop.Plugin.Payments.PayPalExpressCheckout\Services\PayPalOrderService.cs(48):                                       new BasicAmountType {currencyID = currencyCode, Value = cartTotal.ToString("0.00")},
  D:\Code\projectsHG\NOPCommerce_30_SIDS\src\Plugins\Nop.Plugin.Payments.PayPalExpressCheckout\Services\PayPalOrderService.cs(70):                           Value = (cartTotal + toAdd).ToString("0.00")
  Matching lines: 4    Matching files: 2    Total files searched: 184
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: July 29, 2013 at 9:45 AM Quote #101906
This has been fixed and re-uploaded to CodePlex.

Re configuration, we will get some documentation together as soon as possible. Hover over the hints for more information in the mean time.
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)
www.thought.co.uk
Posted: July 29, 2013 at 9:47 AM Quote #101907
oops. That didn't work at all.

In PayPalCartItemService.cs line58 change
Value = _taxService.GetProductPrice(item.Product, _priceCalculationService.GetSubTotal(item, true), out taxRate).ToString()
to
Value = _taxService.GetProductPrice(item.Product, _priceCalculationService.GetSubTotal(item, true), out taxRate).ToString("0.00")

In PayPalOrderService.cs line 46 change
new BasicAmountType {currencyID = currencyCode, Value = cartTotal.ToString()},
to
new BasicAmountType {currencyID = currencyCode, Value = cartTotal.ToString("0.00")},

In PayPalOrderService.cs line 48 change
new BasicAmountType {currencyID = currencyCode, Value = cartTotal.ToString()},
to
new BasicAmountType {currencyID = currencyCode, Value = cartTotal.ToString("0.00")},

In PayPalOrderService.cs line 70 change
Value = (cartTotal + toAdd).ToString()
to
Value = (cartTotal + toAdd).ToString("0.00")
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: July 30, 2013 at 5:42 AM Quote #101974
thought wrote:
This has been fixed and re-uploaded to CodePlex.

Re configuration, we will get some documentation together as soon as possible. Hover over the hints for more information in the mean time.


I downloaded and installed the update.
It seems to be at lot better.

A new issue was found:

In my shop, all products are priced without tax.
Tax is added in cart as 25% sales tax.
This is mandatory in Norway.

When I go to the PP sandbox only item lines from cart is added.

Is it possible til add shipping fee and tax as well?

Sample:

1 item priced kr 999,00 excl tax
1 item priced kr 1375,00 excl tax

Sub-Total:  kr 2 374,00 excl tax  
Shipping:  kr 0,00 excl tax    
Tax 25% :   kr 593,50  
Total:  kr 2 967,50  

In PP only items and subtotal is displayed.

This gives wrong amount to pay.
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: July 30, 2013 at 6:04 AM Quote #101979
We will double check re sending ex TAX - we should be sending the total amount including tax.

RE Shipping - this is calculated after returning from PayPal express - All PayPal does is authorise the payment. The user then comes back to the website to select shipping.
This post/answer is useful
1
This post/answer is not useful

Please login or register
to vote for this post.

(click on this box to dismiss)
www.thought.co.uk
1 2 3 4 5 > ... >
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.