PayPal Express with Braintree #1990

This commit is contained in:
Hillel Coren 2018-03-29 17:06:23 +03:00
parent 0c90654815
commit a6bb261ed9

View File

@ -32,7 +32,7 @@
}
</style>
@if (!empty($transactionToken) && $accountGateway->gateway_id == GATEWAY_BRAINTREE)
@if (!empty($transactionToken) && $accountGateway->gateway_id == GATEWAY_BRAINTREE && $accountGateway->getPayPalEnabled())
<div id="paypal-container"></div>
<script type="text/javascript" src="https://js.braintreegateway.com/js/braintree-2.23.0.min.js"></script>
<script type="text/javascript" >