Merge branch 'trunk' into PCP-2521-apple-pay-recurring-payments

# Conflicts:
#	modules/ppcp-save-payment-methods/src/SavePaymentMethodsModule.php
This commit is contained in:
Pedro Silva 2024-01-18 11:34:15 +00:00
commit 300e8f377c
No known key found for this signature in database
GPG key ID: E2EE20C0669D24B3
5 changed files with 5 additions and 5 deletions

View file

@ -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(