Reply to thread

We've set up PayPal to accept payments for forum upgrades according to the documentation. But one user attempt to upgrade continues to post an error log with the error message: Error: Invalid cost amount


I did a search for similar errors and found this as a fixed bug against 2.0.5;


[URL unfurl="true"]https://xenforo.com/community/threads/paypal-payment-provider-returning-invalid-cost-amount-when-it-shouldnt.146691/[/URL]



array(42) {

  ["mc_gross"] => string(5) "57.10"

  ["protection_eligibility"] => string(8) "Eligible"

  ["address_status"] => string(9) "confirmed"

  ["payer_id"] => string(13) ""

  ["address_street"] => string(15) ""

  ["payment_date"] => string(25) ""

  ["payment_status"] => string(9) "Completed"

  ["charset"] => string(12) "windows-1252"

  ["address_zip"] => string(10) ""

  ["first_name"] => string(3) ""

  ["mc_fee"] => string(4) "2.48"

  ["address_country_code"] => string(2) "US"

  ["address_name"] => string(10) ""

  ["notify_version"] => string(3) "3.9"

  ["custom"] => string(32) ""

  ["payer_status"] => string(8) "verified"

  ["business"] => string(19) ""

  ["address_country"] => string(13) ""

  ["address_city"] => string(6) ""

  ["quantity"] => string(1) "1"

  ["verify_sign"] => string(56) ""

  ["payer_email"] => string(28) ""

  ["txn_id"] => string(17) ""

  ["payment_type"] => string(7) "instant"

  ["last_name"] => string(6) ""

  ["address_state"] => string(2) ""

  ["receiver_email"] => string(19) ""

  ["payment_fee"] => string(4) "2.48"

  ["shipping_discount"] => string(4) "0.00"

  ["insurance_amount"] => string(4) "0.00"

  ["receiver_id"] => string(13) ""

  ["txn_type"] => string(10) "web_accept"

  ["item_name"] => string(56) "Account upgrade: Moot Subscription - Count (ShadowHawke)"

  ["discount"] => string(4) "0.00"

  ["mc_currency"] => string(3) "USD"

  ["item_number"] => string(0) ""

  ["residence_country"] => string(2) "US"

  ["shipping_method"] => string(11) "Air Service"

  ["transaction_subject"] => string(0) ""

  ["payment_gross"] => string(5) "57.10"

  ["shipping"] => string(4) "7.10"

  ["ipn_track_id"] => string(13) ""

}



Back
Top Bottom