Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[BLC-839] - Add validation to ensure sum of accepted payments is equa…
…l to the order total
- Loading branch information
Andre Azzolini
committed
Feb 13, 2013
1 parent
db00b57
commit 45f6b80
Showing
7 changed files
with
76 additions
and
55 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
39 changes: 39 additions & 0 deletions
39
...java/org/broadleafcommerce/core/payment/service/exception/InsufficientFundsException.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
/* | ||
* Copyright 2008-2012 the original author or authors. | ||
* | ||
* Licensed under the Apache License, Version 2.0 (the "License"); | ||
* you may not use this file except in compliance with the License. | ||
* You may obtain a copy of the License at | ||
* | ||
* http://www.apache.org/licenses/LICENSE-2.0 | ||
* | ||
* Unless required by applicable law or agreed to in writing, software | ||
* distributed under the License is distributed on an "AS IS" BASIS, | ||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
* See the License for the specific language governing permissions and | ||
* limitations under the License. | ||
*/ | ||
|
||
package org.broadleafcommerce.core.payment.service.exception; | ||
|
||
public class InsufficientFundsException extends PaymentException { | ||
|
||
private static final long serialVersionUID = 1L; | ||
|
||
public InsufficientFundsException() { | ||
super(); | ||
} | ||
|
||
public InsufficientFundsException(String message, Throwable cause) { | ||
super(message, cause); | ||
} | ||
|
||
public InsufficientFundsException(String message) { | ||
super(message); | ||
} | ||
|
||
public InsufficientFundsException(Throwable cause) { | ||
super(cause); | ||
} | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 3 additions & 1 deletion
4
core/broadleaf-framework/src/main/resources/config/bc/fw/common.properties
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,6 @@ | ||
solr.index.product.pageSize=100 | ||
|
||
pricing.retry.count.for.lock.failure=3 | ||
pricing.retry.wait.interval.for.lock.failure=500 | ||
pricing.retry.wait.interval.for.lock.failure=500 | ||
|
||
stop.checkout.on.single.payment.failure=false |
45f6b80
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Applicable to #54