We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 22ec1e0 + 2f8ddb7 commit 7abf075Copy full SHA for 7abf075
modules/ppcp-googlepay/src/GooglepayModule.php
@@ -253,7 +253,7 @@ function ( array $features ) use ( $c ): array {
253
'ppcp_create_order_request_body_data',
254
static function ( array $data, string $payment_method, array $request ) use ( $c ) : array {
255
256
- $funding_source = $request['funding_source'];
+ $funding_source = $request['funding_source'] ?? '';
257
if ( $payment_method !== GooglePayGateway::ID && $funding_source !== 'googlepay' ) {
258
return $data;
259
}
0 commit comments