Skip to content

Commit 51578d4

Browse files
author
Jay Aisenbrey
committed
Removed the PayPal module since in 3.0.0 the configuration changed and a startup error occurs if the proper configuration isn't provided. There's limited benefit for leaving the module installed when the implementor will have to consult the docs to set it up properly and it states there how to add the maven dependency.
1 parent 64229c8 commit 51578d4

File tree

2 files changed

+5
-16
lines changed

2 files changed

+5
-16
lines changed

core/pom.xml

-4
Original file line numberDiff line numberDiff line change
@@ -38,9 +38,5 @@
3838
<groupId>org.broadleafcommerce</groupId>
3939
<artifactId>broadleaf-sample-payment-gateway</artifactId>
4040
</dependency>
41-
<dependency>
42-
<groupId>org.broadleafcommerce</groupId>
43-
<artifactId>broadleaf-paypal</artifactId>
44-
</dependency>
4541
</dependencies>
4642
</project>

site/src/main/resources/webTemplates/cart/partials/cartOperations.html

+5-12
Original file line numberDiff line numberDiff line change
@@ -6,18 +6,11 @@
66
</div>
77
<div class="cart-action-divider">or</div>
88
<div class="paypal-payment-method-container">
9-
<th:block th:if="${#paypal.hasConfigProperties()}">
10-
<a th:href="@{/paypal-express/redirect?complete=false}">
11-
<img src="https://www.paypal.com/en_US/i/btn/btn_xpressCheckout.gif" align="center"/>
12-
</a>
13-
</th:block>
14-
<th:block th:unless="${#paypal.hasConfigProperties()}">
15-
<img src="https://www.paypal.com/en_US/i/btn/btn_xpressCheckout.gif" align="center"/>
16-
<p class="config-warning">
17-
Your PayPal information has not been configured.
18-
To accept transactions via PayPal, you'll need to complete the <a href="https://www.broadleafcommerce.com/docs/paypal/current/paypal-configuration-properties">configuration setup</a>.
19-
</p>
20-
</th:block>
9+
<img src="https://www.paypal.com/en_US/i/btn/btn_xpressCheckout.gif" align="center"/>
10+
<p class="config-warning">
11+
Your PayPal information has not been configured.
12+
To accept transactions via PayPal, you'll need to complete the <a href="https://www.broadleafcommerce.com/docs/paypal/current/paypal-quick-start">configuration setup</a>.
13+
</p>
2114
</div>
2215
</div>
2316
<div class="cart-actions js-hiddenPerformCheckoutActions is-hidden" th:if="${isCheckoutContext != null and isConfirmationContext == null}">

0 commit comments

Comments
 (0)