Undefined/invalid pending reason key

Created on 14 April 2015, over 10 years ago
Updated 18 August 2025, about 2 months ago

Using Paypal WPS, I got an IPN with payment_status equal to Pending, and pending_reason as multi_currency - but in possible reason keys defined in commerce_paypal_ipn_pending_reason(), there is no multi_currency, but multi-currency - therefore $transaction->message does not get populated in commerce_paypal_wps_paypal_ipn_process().

Not sure if multi-currency is incorrect, or perhaps it might be returned in some other cases/payment solutions, therefore attached patch adds another key instead of just replacing the old one.

πŸ› Bug report
Status

Closed: outdated

Version

2.0

Component

PayPal / IPN

Created by

πŸ‡«πŸ‡·France maciej.zgadzaj

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024