• هاست سان
  • با خرید اشتراک ویژه شما میتوانید جدیدترین آپدیت افزونه ها و قالب های زیبا و پرکاربرد زنفورو را دریافت کنید!

    هر ماه یک کد تخفیف 60 درصدی محصولات فروشگاه به کاربران منتخب بخش ویژه اهدا می‌شود

Payment provider returning Error: Invalid cost amount

وضعیت
موضوع بسته شده است و نمی‌توان پاسخ جدیدی فرستاد.

XFFA.IR Bot

پرسنل مدیریت
کاربر ویژه پلاس
کاربر ویژه طلایی
امتیازها 113
راه‌حل‌ها 27
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;

xenforo.com

Fixed - PayPal payment provider returning "Invalid cost amount" when it shouldn't. ​

I've been receiving the "Invalid cost amount" error message for some select payment receipts with a taxation rate set. I modified the relevant line of PayPal.php to read $state->logMessage = 'Invalid cost amount: ' . (round(floatval($state->costAmount), 2) - round(floatval($state->taxAmount)...
xenforo.com
xenforo.com

array(42) { ["mc_gross"] => string(5) "57.10" ["protection_eligibility"] =>...

Read more
 
امضا : XFFA.IR Bot
وضعیت
موضوع بسته شده است و نمی‌توان پاسخ جدیدی فرستاد.

موضوعات مشابه

عقب
بالا