Commit Graph
15 Commits
Author SHA1 Message Date
Adam Heath 0f8f2093e3 Fix a bunch of no final newline issues.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@965918 13f79535-47bb-0310-9956-ffa450edef68
2010-07-20 17:15:21 +00:00
Vikas Mayur e1710daef2 Fixed a bug in vendor return. The service getReturnableItems returns a map containing the returable quantity corresponding to an item along with
certain other things. Earlier this service was returning an empty map for a purchase order and a vendor return. On order detail page action 
block there is a check on this map and if the map comes out to be empty the system does not show the options to create return for the 
purchase order. Similary if you create a vendor return directly from the Return Header screen and try to add items on the Return Item screen
using an order Id, this display a message "No returnable items found for order" 

Also the method sendItemsShipped in the service sendGoogleShipRequest was throwing a NPE because the code try to pull a product through
ItemIssuance > OrderItem > Product

In the vendor return of type refund the items are issued to the return shipment and a purchase return invoice is generated and hence the process
is not linked to any Order. Adding a condition on the ECA so that this service is not invoked.



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@940851 13f79535-47bb-0310-9956-ffa450edef68
2010-05-04 13:35:19 +00:00
Ashish Vijaywargiya ae8e76a291 Applied patch from jira issue OFBIZ-3158 - Send item shipped request from OFBiz to Google in a collection instead of sending multiple request for each item shipped.
Following points are covered in this implementation:

1) Send item shipped request from OFBiz to Google in a collection instead of sending multiple request for each item shipped.
2) Also show limitation messages for Google orders, while updating manual adjustments from order detail page.

Thanks Pranay / Arun  for the contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@834385 13f79535-47bb-0310-9956-ffa450edef68
2009-11-10 08:37:40 +00:00
Ashish Vijaywargiya abead6215f Applied patch from jira issue - OFBIZ-3139 - Correct refunded amount does not go to Google Checkout when we returns more than 1 qty of a item.
When we creates return for orders placed through Google Checkout then correct refunded amount does not go to Google Checkout.

Thanks Pranay / Arun for the contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@832680 13f79535-47bb-0310-9956-ffa450edef68
2009-11-04 08:38:58 +00:00
Ashish Vijaywargiya 57b30f153a Changed the name of entities as it was exceeding the maximum length i.e 30.
Reported by Hans on Dev mailing list. Thanks Hans.

There are two reason of choosing "Co" pattern for the entities.

1) I haven't seen any such pattern in OFBiz to define entity in which you have three or more capital letter coming in b/w.
Like for General Ledger, GlAccount is used OOTB.

2) In database it will split the table name to Google_C_O_Shipping_Method if we keep the name GoogleCOShippingMethod.
So it looks like you have some new word starting with "C" and another new word starting with "O"
But if we keep the name GoogleCoShippingMethod then it will split the name into "Google_Co_Shipping_Method"





git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@781689 13f79535-47bb-0310-9956-ffa450edef68
2009-06-04 09:14:51 +00:00
Andrew Zeneski c5ce98937e only run the cancel item event if a single item is cancelled, if all items are cancelled the order status change will run instead
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@781653 13f79535-47bb-0310-9956-ffa450edef68
2009-06-04 05:23:54 +00:00
Andrew Zeneski 5325baa3b3 implemented returns/refunds in google checkout
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@781109 13f79535-47bb-0310-9956-ffa450edef68
2009-06-02 18:11:05 +00:00
Andrew Zeneski 33144a7019 fixed bug when tracking numbers are null (causing a rollback of quickship); added status vs oldstatus condition check to ecas
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@780725 13f79535-47bb-0310-9956-ffa450edef68
2009-06-01 17:02:46 +00:00
Ashish Vijaywargiya d64ff1b743 Following things are included in this commit.
1) Added the UI's for the configuration entities introduced in previous commit.
This will help to avoid the restarting of server. (Previously values were maintained in the property files) 

2) Renamed those two configuration entities to more closely follow the GoogleCheckout naming pattern.
The idea behind renaming of entity is that in future we can have other feature coming from Google so at that time GoogleConfiguration entity will be bit confusing.IMO this entities are introduced before few days(1 or 2 days) and I am sure no one is using these entities in Production so we will be safe by this change in the initial phase of google checkout.

Thanks to myself :)

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@780501 13f79535-47bb-0310-9956-ffa450edef68
2009-05-31 20:16:04 +00:00
Ashish Vijaywargiya d14fc74b12 productStoreId is not required in service definition. It can be fetched from ShoppingCart object.
Also remove the redundant code and fetched base price instead of itemSubTotal.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@780257 13f79535-47bb-0310-9956-ffa450edef68
2009-05-30 12:58:05 +00:00
Andrew Zeneski 5de5e8f437 1. re-implemented google checkout (send shopping cart) using the java API
2. enhanced the create order code
3. finished implementation of cancel, capture and ship notifications (Order Processing API to Google)
4. implemented order state change notification
5. added place holders for other notification messages
6. added controller event for processing incoming messages (/googlecheckout/control/handleMessage)
7. added new entity to map shipping methods to support w/ google and link them to internal shipping methods
8. added ecas to prevent certain order changes which cannot be support by Google (adding items, changng quanities)



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@780153 13f79535-47bb-0310-9956-ffa450edef68
2009-05-30 00:35:09 +00:00
Ashish Vijaywargiya b91e78e915 For now we are enabling link to checkout using Google Checkout.
For using this feature you may need to create Merchant Account in the Google Checkout area.

We can disable this links if anyone think otherwise but the idea of keeping these links on ecommerce is that the End User knows that this feature also exists in OFBiz and could use it accordingly.



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@779910 13f79535-47bb-0310-9956-ffa450edef68
2009-05-29 10:02:35 +00:00
Ashish Vijaywargiya e3b18d04e1 Here comes the first pass to create order in OFBiz from the notification message coming from the google checkout server.
For more details please have a look on the jira issue: OFBIZ-2545 (Create Order and Party information using google notification)

This is collaborative effort from Andrew Zeneski, Vivek Mishra, Arun Patidar, Anurag Singh Sengar & Me.
Thanks guys for giving a good head start to this feature.

More exciting features are coming soon in this area, so please stay tuned.
Thanks !

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@779907 13f79535-47bb-0310-9956-ffa450edef68
2009-05-29 09:43:39 +00:00
Ashish Vijaywargiya 8857205561 Added new service connectToGoogleCheckoutServer.
For more details please see jira issue: OFBIZ-2538 (Create a service to establish a connection with Google Checkout server)

Thanks Anurag for your contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@779514 13f79535-47bb-0310-9956-ffa450edef68
2009-05-28 09:53:06 +00:00
Ashish Vijaywargiya 555caeae0a For keeping the folder name consistent I am renaming googleCheckout to googlecheckout.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@776254 13f79535-47bb-0310-9956-ffa450edef68
2009-05-19 09:55:24 +00:00