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['client_id'] = $this->company_gateway->getConfigField('clientId');
|
||||||
$data['token'] = $this->getClientToken();
|
$data['token'] = $this->getClientToken();
|
||||||
$data['order_id'] = $this->createOrder($data);
|
$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({
|
paypal.Buttons({
|
||||||
env: "{{ $gateway->company_gateway->getConfigField('testMode') ? 'sandbox' : 'production' }}",
|
env: "{{ $gateway->company_gateway->getConfigField('testMode') ? 'sandbox' : 'production' }}",
|
||||||
fundingSource: "card",
|
fundingSource: "{{ $funding_source }}",
|
||||||
client: {
|
client: {
|
||||||
@if($gateway->company_gateway->getConfigField('testMode'))
|
@if($gateway->company_gateway->getConfigField('testMode'))
|
||||||
sandbox: "{{ $gateway->company_gateway->getConfigField('clientId') }}"
|
sandbox: "{{ $gateway->company_gateway->getConfigField('clientId') }}"
|
Loading…
x
Reference in New Issue
Block a user