mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-06-23 20:00:33 -04:00
Renaming
This commit is contained in:
parent
6ca1a36ef4
commit
15941b8273
@ -159,9 +159,9 @@ class PayPalPPCPPaymentDriver extends BaseDriver
|
||||
$data['client_id'] = $this->company_gateway->getConfigField('clientId');
|
||||
$data['token'] = $this->getClientToken();
|
||||
$data['order_id'] = $this->createOrder($data);
|
||||
$data['funding_options'] = $this->paypal_payment_method;
|
||||
$data['funding_source'] = $this->paypal_payment_method;
|
||||
|
||||
return render('gateways.paypal.credit_card.pay', $data);
|
||||
return render('gateways.paypal.ppcp.pay', $data);
|
||||
|
||||
}
|
||||
|
||||
|
@ -36,7 +36,7 @@
|
||||
|
||||
paypal.Buttons({
|
||||
env: "{{ $gateway->company_gateway->getConfigField('testMode') ? 'sandbox' : 'production' }}",
|
||||
fundingSource: "card",
|
||||
fundingSource: "{{ $funding_source }}",
|
||||
client: {
|
||||
@if($gateway->company_gateway->getConfigField('testMode'))
|
||||
sandbox: "{{ $gateway->company_gateway->getConfigField('clientId') }}"
|
Loading…
x
Reference in New Issue
Block a user