Commit Graph
43 Commits
Author SHA1 Message Date
Jacopo Cappellato 7fb8790c56 Added missing out parameter that was causing a service validation error.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@815715 13f79535-47bb-0310-9956-ffa450edef68
2009-09-16 10:45:01 +00:00
Anil Patel 6e049c9994 Improvements to force contraints associated with Payment Group types. Rishi, Parimal Thanks for patch. Patch from OFBIZ-2774
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@799265 13f79535-47bb-0310-9956-ffa450edef68
2009-07-30 13:50:31 +00:00
Anil Patel 4b5873808d This commit covers following improvements
1) Set  "Group in one Transaction" checkbox selected by default. 
2) When user check "Group in one Transaction" checkbox then  system crete payment group of type "batch of payments") with PaymentGroupMembers.
3) Added condition on batch payment search .
4) On cancel of finAccountTrans we are expiring payment and PaymentGroup Association .

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@798775 13f79535-47bb-0310-9956-ffa450edef68
2009-07-29 04:30:06 +00:00
Scott Gray c6c781eb67 Another PayPal restriction whereby you cannot do a refund transaction for more than the capture transaction being referenced.
Fixed by having refundPayment return the amount actually refunded and using that amount in the processRefundReturn service.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@796676 13f79535-47bb-0310-9956-ffa450edef68
2009-07-22 11:35:45 +00:00
Scott Gray 3f2d963f91 Initial implementation of the Payflow Pro version of PayPal's Express Checkout OFBIZ-934
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@793866 13f79535-47bb-0310-9956-ffa450edef68
2009-07-14 11:43:21 +00:00
Ashish Vijaywargiya 012b5ab921 Applied patch from jira issue OFBIZ-2699 - Create Payment Batches for Ar Payment
Following thing is covered in this patch:
-- functionality to cancel payment group and expire association with payment. 
Thanks Awdesh & Rishi for your contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@792526 13f79535-47bb-0310-9956-ffa450edef68
2009-07-09 12:24:13 +00:00
Vikas Mayur dce4a20ee3 Implemented entity, crud services and ui for payment groups which will be enable user to generate checks in a batch from selected bank account (which is not implemented yet).
Thanks to Jacopo for notes. 


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@788963 13f79535-47bb-0310-9956-ffa450edef68
2009-06-27 12:45:11 +00:00
Ashish Vijaywargiya 035aefa909 Applied patch from jira issue OFBIZ-2472 (Error on updating order items from order datail page).
Thanks Arun Patidar for your contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@774749 13f79535-47bb-0310-9956-ffa450edef68
2009-05-14 12:43:38 +00:00
Marco Risaliti 0f1bbb7b0d Misc improvements on Manual Payment Gateway Transaction (OFBIZ-2369)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@769510 13f79535-47bb-0310-9956-ffa450edef68
2009-04-28 19:45:06 +00:00
Adrian Crum 9a753b9865 Fixed a problem where service definitions were using "GenericValue" as attribute types, but that threw exceptions because the service definitions needed the full class name - "org.ofbiz.entity.GenericValue". The problem was reported in https://issues.apache.org/jira/browse/OFBIZ-2268 and https://issues.apache.org/jira/browse/OFBIZ-2311.
I checked the commit logs and I don't see what changed to cause these services to stop working, so I took the shotgun approach and changed all occurrences of GenericValue service attributes.

If anyone has a better solution, please feel free to revert this commit and change it.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@765864 13f79535-47bb-0310-9956-ffa450edef68
2009-04-17 06:33:43 +00:00
Marco Risaliti a657adadf8 Move payment.properties to PaymentGatewayConfig entities (OFBIZ-2269)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@763782 13f79535-47bb-0310-9956-ffa450edef68
2009-04-09 19:45:31 +00:00
Jacques Le Roux b9c3ddef08 2d part and end of an effort to remove trailing spaces
[ \t]+$ => "" (empty)
Should be easier to review when committing changes with trailing spaces removed automatically by anyedit or such tool (please refer to http://docs.ofbiz.org/x/mg)

Of course this effort to remove trailing spaces has no functional implications.

Actually, I was doing a 1st commit and as it's long to upload, I got conflicts with r763135
In the meantime I did some refactoring also in *.java and *.groovy files :
){ => ) {
if( => if (
while( => while (
}else => } else
else{ => else {
switch( => switch (
try{ => try {
}catch => } catch
catch( => catch (
}finally{ => } finally {

So these changes are also in this commit, should not be a problem anyway.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@763175 13f79535-47bb-0310-9956-ffa450edef68
2009-04-08 10:54:51 +00:00
Jacques Le Roux 8f0c9f4c40 A 1s set of changes in accounting
Following best practice.
Changed location="org/ofbiz/......... to location="component:// in the service location attribute.
I used <service name=(.*)engine="simple"(.*)\R(.*)location="org/ofbiz => <service name=$1engine="simple"$2\R$3location="component://accounting/script/org/ofbiz 
More to follow... (component by component)


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@755925 13f79535-47bb-0310-9956-ffa450edef68
2009-03-19 11:19:14 +00:00
David E. Jones 874f02e9da Manual merge of typecheckcleanup200810 branch as of rev 731346 in that branch, resolved all conflicts; with this BigDecimal is not the native type for many entity fields and is used for many calculations; some work is still needed in certain areas of the project but this covers the most critical ones; thanks especially to Scott for his work on this
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@731851 13f79535-47bb-0310-9956-ffa450edef68
2009-01-06 07:13:36 +00:00
Si Chen 225c5166ea add a reference to the cc refund failure for testing
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@605721 13f79535-47bb-0310-9956-ffa450edef68
2007-12-19 22:31:20 +00:00
Ashish Vijaywargiya fb42bac4c2 Applied patch from JIRA Issue # OFBIZ-1505.
Thanks to Brajesh Patel for your patch.

We are also thankful to Pranay Pandey,Rishi Solanki,Alok Agnihotri and others for helping him in the implementation of this work.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@605007 13f79535-47bb-0310-9956-ffa450edef68
2007-12-17 21:20:03 +00:00
Anil Patel 77796ce97b Implement CRUD services and screens for CreditCardTypeGlAccount entity
Thanks Alok Agnihori for providing implementation And also our thanks to Vikas Mayur, Ashish Vijaywargiya, Mridul Pathak, Pankaj Savita and others for managing and helping the team implementing these services.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@600770 13f79535-47bb-0310-9956-ffa450edef68
2007-12-04 02:13:13 +00:00
Andrew Zeneski 73db9fa0f0 updated credit card verification to use a new authorization service
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@600755 13f79535-47bb-0310-9956-ffa450edef68
2007-12-04 00:58:16 +00:00
Anil Patel 64a29f4bc1 New verifyCreditCard service which will be called as an ECA on createCreditCard and updateCreditCard services
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@598608 13f79535-47bb-0310-9956-ffa450edef68
2007-11-27 11:52:45 +00:00
Anil Patel 0ebecd36dc adding optional parameter to authOrderPayments service. Is nice to have in case we are doing shipment quite sometime after order was approved and want to make sure that payment Auth is still valid.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@558633 13f79535-47bb-0310-9956-ffa450edef68
2007-07-23 07:28:49 +00:00
Jacopo Cappellato e4c96762f7 Improved service descriptions as suggested by David Jones.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@552687 13f79535-47bb-0310-9956-ffa450edef68
2007-07-03 06:26:41 +00:00
Jacques Le Roux c4f9e66798 < and >= in descriptions were preventing correct load of the services
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@552656 13f79535-47bb-0310-9956-ffa450edef68
2007-07-03 03:03:57 +00:00
Jacopo Cappellato 0debae08f6 Added new service to test a decline response for a cc capture request.
Fixed bu that was preventing the declined response for a capture request to be stored in the PaymentGatewayResponse entity.
Misc cleanups and improvements to the descriptions of the test cc processor services.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@552432 13f79535-47bb-0310-9956-ffa450edef68
2007-07-02 08:32:14 +00:00
Andrew Zeneski 9a71dbd958 fixed refund fin account service to check if the account is refundable; added method to clear the credit card data and expire the payment method (useful when needed for custom applications)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@547346 13f79535-47bb-0310-9956-ffa450edef68
2007-06-14 18:18:37 +00:00
Jacopo Cappellato 108d57b21c First version of the billing accounts' process refactoring effort: now most of the more critical bugs that were affecting the billing accounts are fixed (OFBIZ-901). There is still some work to do to consolidate and cleanup older code, and an issue with approximations under certain conditions (that is my next task).
The most remarkable difference from the existing code (that was an incomplete implementation of the processes needed to effectively use billing accounts) is that now payment applications are *not* applied to a billing account; they are simply associated to it and can be applied to pay the invoices associated to the billing account.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@543923 13f79535-47bb-0310-9956-ffa450edef68
2007-06-03 16:06:37 +00:00
David E. Jones 7d70c41c12 Did a big search/replace to change all xsd file refs from www.ofbiz.org to ofbiz.apache.org
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@539504 13f79535-47bb-0310-9956-ffa450edef68
2007-05-18 15:47:14 +00:00
Jacopo Cappellato c576ce1abf Added missing out parameter in service definition.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@536545 13f79535-47bb-0310-9956-ffa450edef68
2007-05-09 14:29:42 +00:00
Jacopo Cappellato b528f4dab5 Fixed wrong service definition.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@536217 13f79535-47bb-0310-9956-ffa450edef68
2007-05-08 15:14:42 +00:00
Jacopo Cappellato 544eae0ae1 Fixed wrong service definition that was causing the issue reported in OFBIZ-969
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@536143 13f79535-47bb-0310-9956-ffa450edef68
2007-05-08 09:58:57 +00:00
Andrew Zeneski 08841dc202 refactored gateway services; pulled all response functions to their own service; added a special service to make sure the response records get created even in the case of a rollback
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@534944 13f79535-47bb-0310-9956-ffa450edef68
2007-05-03 17:44:50 +00:00
Andrew Zeneski 4fc1e92b6e updated service definitions
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@532504 13f79535-47bb-0310-9956-ffa450edef68
2007-04-25 22:19:16 +00:00
Jacopo Cappellato 64bf407235 Added missing 'authTrans' in optional parameter from the paymentReleaseInterface that was used at least by the Payflow and Rita payment processors.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@528768 13f79535-47bb-0310-9956-ffa450edef68
2007-04-14 05:38:40 +00:00
Andrew Zeneski d0cec6222f added test cc processor which 1/4 the time will decline (randomly)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@523494 13f79535-47bb-0310-9956-ffa450edef68
2007-03-28 22:51:37 +00:00
Jacques Le Roux dad67935f7 A (large) patch from Scott Gray "Update ASL header" (https://issues.apache.org/jira/browse/OFBIZ-637).
I put also some svn:ignore for shark build and lib diretories and assetmaint/build 

I did some by hand lately, too much to remember. They were files with old header but without copyright. A 1st attempt I suppose, will have to check this after this commit.

I add some problems to commit this patch in one piece because it's so huge (specially with Eclipse I had to turn to Tortoise) !

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@499486 13f79535-47bb-0310-9956-ffa450edef68
2007-01-24 17:15:54 +00:00
Si Chen 2a093551d7 OFBIZ-442: Modify createInvoicesFromShipment so that additional shipping charges are authorized and captured along with rest of order amount. Refactored and created new service to release an individual order payment preference. Thanks to Chris Liberty.
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@474623 13f79535-47bb-0310-9956-ffa450edef68
2006-11-14 01:48:07 +00:00
David E. Jones 8b9c8e3d28 Fixed bad service def
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@442395 13f79535-47bb-0310-9956-ffa450edef68
2006-09-12 00:11:27 +00:00
David E. Jones 7d5919d655 Added functionality for picking out and retrying CC auths for NSF failures, meant for auto-orders to get better chance of successful charge for subscriptions and such; tries once a week for the number of times specified on the ProductStore
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@441736 13f79535-47bb-0310-9956-ffa450edef68
2006-09-09 04:15:54 +00:00
Si Chen 5bd4f387a0 Service for capturing billing account payments will now create a PaymentGatewayResponse record so that later we can use it to figure out how much of the order was captured to each payment method
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@433421 13f79535-47bb-0310-9956-ffa450edef68
2006-08-21 23:21:48 +00:00
David E. Jones 4b871d6df1 Some additions to help with CC decline or bad info recovery options like return flags for bad expire date, nsf, and bad card number to help enable automated response to these; added testing services for these different conditions; added initial implementation of the feature to try incrementing expire date years for the current card date plus 2, 3, then 4 years if option enabled in ProductStore.autoOrderCcTryExp and if the order is an auto-order, ie OrderHeader.autoOrderShoppingListId is not empty
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@431154 13f79535-47bb-0310-9956-ffa450edef68
2006-08-13 09:05:07 +00:00
Si Chen ab89361f3d Refactoring of the way billing accounts work, using PaymentApplication to track the amount of a billing account used up in each invoice. Also changed captureOrderPayments to use up billing accounts first before other payment methods. Finally, new methods to get net vs. available balances of a billing account
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@424484 13f79535-47bb-0310-9956-ffa450edef68
2006-07-21 22:39:30 +00:00
Jacopo Cappellato 0151f032dd Conversion from MIT to ASL2.0 for the files of the accounting component.
Many thanks to Scott Gray for the patch (Apache OFBIZ-87).

git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@422398 13f79535-47bb-0310-9956-ffa450edef68
2006-07-16 07:57:05 +00:00
Si Chen 0ada1860b0 OFBIZ-81: Add PaymentMethod.description field to describe individual payment methods. For example, a customer may want to describe a CC as a "primary card". Added support for this field wherever payment methods are created/updated. Display this field in ordermgr checkout, ecommerce checkout, and partymgr viewprofile. Thanks to Ashish Vijaywargiya.
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@421780 13f79535-47bb-0310-9956-ffa450edef68
2006-07-14 01:23:49 +00:00
David E. Jones 94fe6d1cda Initial OFBiz import from revision 7923 of the old svn.ofbiz.org SVN repository.
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@418498 13f79535-47bb-0310-9956-ffa450edef68
2006-07-01 19:05:20 +00:00