mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-09-05 08:59:14 +08:00
Merge branch 'trunk' into PCP-2521-apple-pay-recurring-payments
# Conflicts: # modules/ppcp-save-payment-methods/src/SavePaymentMethodsModule.php
This commit is contained in:
commit
300e8f377c
5 changed files with 5 additions and 5 deletions
|
@ -108,7 +108,7 @@ class SavePaymentMethodsModule implements ModuleInterface {
|
|||
if ( $payment_method === PayPalGateway::ID ) {
|
||||
$funding_source = $request_data['funding_source'] ?? null;
|
||||
|
||||
if ( $funding_source === 'venmo' ) {
|
||||
if ( $funding_source && $funding_source === 'venmo' ) {
|
||||
$data['payment_source'] = array(
|
||||
'venmo' => array(
|
||||
'attributes' => array(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue