değişen birşey olmadı hocam.
bu şekilde ekledim.
if($_POST){
file_put_contents("paytr.txt", json_encode($post));
$paytr = $db->query("SELECT * FROM paytr_api LIMIT 1")->fetch(PDO::FETCH_ASSOC);
## 2. ADIM için örnek kodlar ##
if($_POST){
un altına
file_put_contents("paytr.txt", json_encode($post));
yazıp tekrar dener misiniz?
Denedikten sonra siteadresiniz.com/paytr.txt adresine gidip merchant_oid, status, total_amount değerlerini kontrol edin boş mu dolu mu diye. Bunlardan biri ödeme kısmındaki değerlerle uyuşmuyordur.