midtrans-php
midtrans-php copied to clipboard
Official Midtrans Payment API Client for PHP | https://midtrans.com
Currently I'm testing SNAP redirect to process credit card payment. And Midtrans force to show phone and email field on credit card checkout field. Look this comparison of credit card...
When you do something like this in notify url script: ``` namespace Midtrans; require_once dirname(__FILE__) . '/../Midtrans.php'; Config::$isProduction = false; Config::$serverKey = ''; $notif = new Notification(); ``` Then this...
Halo selamat malam. Saya melakukan proses pembayaran dengan menggunakan midtrans di metode sandbox akan tetapi saya mendapatkan pesan error yang mengatakan bahwa "Transaction doesn't exist" padahal di database saya terdapat...
public function __construct($input_source = "php://input") { $raw_notification = json_decode(file_get_contents($input_source), true); $status_response = Transaction::status($raw_notification['transaction_id']); $this->response = $status_response; } if i change transaction_id with order_id this not error?? this bug or im...
halo semuanya. saya menggunakan snap untuk pembayaran user berjalan dengan baik, namun ada kejadian user awal memilih pembayaran indomaret misalnya, lalu dia ingin mengganti ke yang lain. bagaimana ya caranya?...
### Affected Lines Known sample, but recommended to search more comprehensively. https://github.com/Midtrans/midtrans-php/blob/4929d87da0db94404e69ba43b967a98701572370/Midtrans/Sanitizer.php#L141 https://github.com/Midtrans/midtrans-php/blob/4929d87da0db94404e69ba43b967a98701572370/Midtrans/Sanitizer.php#L124 https://github.com/search?q=repo%3AMidtrans%2Fmidtrans-php%20substr&type=code ### Findings: Reproducible evidence: ```php ``` ### Issue Desc #### When: - sanitization in which merchant's...
saya menggunakan development / sandbox akan tetapi beberapa hari terakhir ini saya mencoba mendapatkan status 404 untuk NOTIFICATION
Saya mendapat pemberitahuan bahwa 3DS 1.0 akan dihentikan pada bulan september 2023. dan diberitahukan untuk tidak menggunakan parameter 'secure:true' karena akan mengarah ke 3DS 1.0, sedangkan untuk 3DS 2.0 akan...
Dear Team, Please ensure consistent responses for each selected payment channel when using the bank transfer method. Currently, I am receiving a different response for Bank Mandiri, Bank BCA and...
## Current Unexpected: https://github.com/Midtrans/midtrans-php/blob/4929d87da0db94404e69ba43b967a98701572370/Midtrans/Notification.php#L23-L28 On that function, - when HTTP request come and that function get executed, - IF the HTTP request body is not exist, THEN it will [unexpectedly...