<pre style='font-family:monospace;background:#111;color:#0f0;padding:20px;font-size:12px'>=== FULL PAYMENT DIAGNOSTIC ===

1. FILE VERSIONS ON SERVER
payment_callback.php modified: 2026-04-29 10:41:46
payment_status.php modified:   2026-04-29 10:42:09
config.php modified:           2026-05-01 19:02:33
subscription_initiate.php:     2026-04-29 11:06:18

2. CONFIG VALUES
EPS_VERIFY endpoint: https://sandboxpgapi.eps.com.bd/v1/EPSEngine/CheckMerchantTransactionStatus
Correct endpoint? ✅ YES

3. CALLBACK FILE CHECK
Has log function: ✅ YES
Has epsGetToken(): ✅ YES
Has epsVerifyTransaction(): ✅ YES

4. PAYMENT STATUS FILE CHECK
Has epsGetToken(): ✅ YES
Has epsVerifyTransaction(): ✅ YES
Has old POST method: ✅ NO
Has old wrong hash: ✅ NO

5. PAYMENT LOG (last 50 lines)
[2026-05-31 04:10:32] CALLBACK HIT: /backend/payment_callback.php
[2026-05-31 04:10:32] status=fail txnId=
[2026-05-31 04:10:32] ERROR: empty txnId


6. LATEST 5 TRANSACTIONS IN DB
❌ VP20260502172653744 | ৳99.00 | initiated | ueysvs@gmail.com | 2026-05-02 23:26:53
✅ VP20260501191600366 | ৳999.00 | success | test@gamil.com | 2026-05-02 01:16:00
✅ VP20260429165235241 | ৳999.00 | success | dev@gmail.com | 2026-04-29 22:52:36
✅ VP20260429041549551 | ৳499.00 | success | adminf@gmail.com | 2026-04-29 10:15:50

7. TEST CALLBACK URL REACHABILITY
URL: https://vocabpanda.com/backend/payment_callback.php?status=test&txnId=TEST123
HTTP Code: 200 ✅
CURL Error: none
Response (first 200 chars): Transaction not found

8. MANUAL TRIGGER — Activate latest initiated transaction
Latest initiated: VP20260502172653744
EPS Status for this txn: 'Cancel'
Full EPS response: {"MerchantTransactionId":"VP20260502172653744","EPSTransactionId":"92601221705023","Status":"Cancel","TotalAmount":"99.00","StoreAmount":"0","TransactionDate":"02 May 2026 11:22:01 PM","TransactionType":"P2P_B2B_FundTransfer","FinancialEntity":null,"ErrorCode":null,"ErrorMessage":null,"CustomerId":null,"CustomerName":"bdjdv","CustomerEmail":"ueysvs@gmail.com","CustomerAddress":"Dhaka","CustomerAddress2":null,"CustomerCity":"Dhaka","CustomerState":"Dhaka","CustomerPostcode":"1200","CustomerCountry":"BD","CustomerPhone":"01316051242","ShipmentName":null,"ShipmentAddress":null,"ShipmentAddress2":null,"ShipmentCity":null,"ShipmentState":null,"ShipmentPostcode":null,"ShipmentCountry":null,"ValueA":null,"ValueB":null,"ValueC":null,"ValueD":null,"ShippingMethod":"NO","NoOfItem":"1","ProductName":"VocabPanda Monthly Pro","ProductProfile":"digital-goods","ProductCategory":"Subscription","PaymentReferance":null,"PaymentId":""}
⚠️  EPS says this txn is NOT success yet.
Did you actually complete payment in EPS (entered OTP, confirmed)?

=== DIAGNOSTIC COMPLETE ===
</pre>