Clicked "Continue to next step" in "Review Order" after entering iinfo for a valid AMEX card and got:
•Notice: Undefined index: txn_type in commerce_paypal_wpp_submit_form_submit() (line 180 of /Users/larrysimon/Sites/commerce/sites/all/modules/commerce_paypal/modules/wpp/commerce_paypal_wpp.module).
•Notice: Undefined index: currency_code in commerce_paypal_wpp_submit_form_submit() (line 186 of /Users/larrysimon/Sites/commerce/sites/all/modules/commerce_paypal/modules/wpp/commerce_paypal_wpp.module).
•Notice: Undefined index: currency_code in commerce_paypal_wpp_submit_form_submit() (line 187 of /Users/larrysimon/Sites/commerce/sites/all/modules/commerce_paypal/modules/wpp/commerce_paypal_wpp.module).
•Notice: Undefined index: server in commerce_paypal_wpp_request() (line 331 of /Users/larrysimon/Sites/commerce/sites/all/modules/commerce_paypal/modules/wpp/commerce_paypal_wpp.module).
•Notice: Undefined index: api_username in commerce_paypal_wpp_request() (line 336 of /Users/larrysimon/Sites/commerce/sites/all/modules/commerce_paypal/modules/wpp/commerce_paypal_wpp.module).
•Notice: Undefined index: api_password in commerce_paypal_wpp_request() (line 337 of /Users/larrysimon/Sites/commerce/sites/all/modules/commerce_paypal/modules/wpp/commerce_paypal_wpp.module).
•Notice: Undefined index: api_signature in commerce_paypal_wpp_request() (line 338 of /Users/larrysimon/Sites/commerce/sites/all/modules/commerce_paypal/modules/wpp/commerce_paypal_wpp.module).
•Notice: Undefined index: log in commerce_paypal_wpp_request() (line 346 of /Users/larrysimon/Sites/commerce/sites/all/modules/commerce_paypal/modules/wpp/commerce_paypal_wpp.module).
•Notice: Undefined index: currency_code in commerce_paypal_wpp_submit_form_submit() (line 252 of /Users/larrysimon/Sites/commerce/sites/all/modules/commerce_paypal/modules/wpp/commerce_paypal_wpp.module).
•We encountered an error processing your payment. Please verify your credit card details or try a different card.
Comments
Comment #1
Kojo Unsui commentedHi Lasimon,
got exactly the same notices & error while testing with a valid Credit card. Could you explain the solution you found please ?
Comment #2
andyg5000I'm unable to reproduce this error, but all of the undefined indexes are settings values for the module. Can you verify that you've entered all of the settings for WPP @ admin/commerce/config/payment-methods/manage/commerce_payment_paypal_wpp? Also, can you verify that you have your payment form on the last checkout pane before "Complete Checkout" (this is usually the review pane).
Comment #3
andyg5000Comment #4
rszrama commentedComment #5
rszrama commentedI just checked, and the error messages are indeed coming from an unconfigured payment method. Not sure how you'd expect the module to work without your PayPal info, but I've gone ahead and prevented the payment attempt entirely if there are no settings for the payment method.
Commit: http://drupalcode.org/project/commerce_paypal.git/commitdiff/3a761fc