[ 
https://issues.apache.org/jira/browse/OFBIZ-934?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12752741#action_12752741
 ] 

Corey Italiano commented on OFBIZ-934:
--------------------------------------

I'm also working on this section of the code. I modified the 
payPalCheckoutUpdate service so that instead of calculating different rates, 
the only thing that gets sent to PayPal is a flat shipping rate that we define 
and use throughout the web store.

The problem I am running into now is that when PayPal sends its call back 
request to my server for the shipping options, our server writes back the 
proper flat amount but that value never gets placed onto the screen unless a 
"condition" is met. If the "condition" is not met it remains at 0.00 with the 
option name "Calculated Offline". That "condition" is if the first line item 
has a quantity greater than 1. The reason i put condition in quotes is that I 
don't see anywhere in the code that says to do anything differently based on 
the quantity of a line item.

So, basically, if i add an item to the cart and go through pay pal, the 
shipping estimate comes to 0 even though our correct flat rate is sent during 
the call back. If, after adding the item, you change the quantity to let's say 
2, when you then run the order through paypal, it "recognizes" the new shipping 
amount that was sent back to it. Same code, only difference is the quantity. 
When it's set to 1, it doesn't work, otherwise it does.

So, I wanted to see if you, Scott, had made any progress as I see you also were 
having troubles with the shipping estimates.

> PayPal Express Checkout Support in Ecommerce Checkout Process.
> --------------------------------------------------------------
>
>                 Key: OFBIZ-934
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-934
>             Project: OFBiz
>          Issue Type: Improvement
>          Components: accounting, specialpurpose/ecommerce
>            Reporter: Anil K Patel
>            Assignee: Scott Gray
>             Fix For: SVN trunk
>
>
> Implement Support for PayPal Express Checkout. Some help is available at 
> following locations.
> https://www.paypal.com/IntegrationCenter/ic_expresscheckout.html
> https://www.paypal.com/IntegrationCenter/ic_nvp.html

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to