php - Problems with open card Pay Pal standard plugin -


i'm having problem opencart shop version 2.x paypal standard plugin.

2017-09-08 13:31:18 - pp_standard :: ipn request:

cmd=_notify-validate&mc_gross=7.13&invoice=2872+-+oleg+lopeta&protection_eligibility=eligible&item_number1=&item_number2=&payer_id=mh5hlr9x2gmxc&payment_date=03%3a30%3a19+sep+08%2c+2017+pdt&payment_status=completed&charset=windows-1252&first_name=oleg&mc_fee=0.59&notify_version=3.8&custom=2872&payer_status=verified&business=ebay%40rrr.lt&num_cart_items=2&verify_sign=abzlmqfngcw1kgs7w9u77rx7troaa8ihh-c5l6t2vsitswmlni0mbcay&payer_email=oleg.lopeta%40gmail.com&txn_id=7el168808h347641d&payment_type=instant&last_name=lopeta&item_name1=&receiver_email=ebay%40rrr.lt&item_name2=siuntimas%2c+pakavimas%2c+nuolaidos+ir+mokes%1aiai&payment_fee=&quantity1=1&quantity2=1&receiver_id=mnvalkuc7tzec&txn_type=cart&mc_gross_1=2.48&mc_currency=eur&mc_gross_2=4.65&residence_country=lt&transaction_subject=&payment_gross=&ipn_track_id=28598eaca014e

2017-09-08 13:31:18 - pp_standard :: ipn response: invalid

we have request , response somehow invalid "pp_standard :: ipn response: invalid"

so have done commented line:

// if ((strcmp($response, 'verified') == 0 || strcmp($response, 'unverified') == 0) && isset($this->request->post['payment_status'])) { 

open cart after payment done changing status payed, kind hole in code.

may guys had same problem , somehow fixed ?

thank you


Comments

Popular posts from this blog

angular - Ionic slides - dynamically add slides before and after -

minify - Minimizing css files -

Add a dynamic header in angular 2 http provider -