Comments (3)
ya, kami berhasil test dengan mode sandbox, tapi kami harus ubah :
$raw_notification = json_decode(file_get_contents($input_source), true);
// error_log('TIPE:'.gettype($raw_notification) ); //result is "string" not array
//need to decode again
$raw_notification = json_decode($raw_notification, true);
PHP ver 7.1, plugin ver 2.4.5
from snap-woocommerce.
Got something:
$raw_notification = json_decode(file_get_contents($input_source), true);
// error_log('TIPE:'.gettype($raw_notification) ); //result is "string" not array
//need to decode again
$raw_notification = json_decode($raw_notification, true);
from snap-woocommerce.
Hi @agung-wete
Thanks for contacting.
Unfortunately for now the Test notification callback
is in incorrect format. So please ignore the error caused by it.
For testing with Woocommerce, we recommend you to do transaction in your Woocommerce site using Midtrans Gateway which set to use sandbox environment, your server will receive correct notification callback
using this method.
Thanks.
from snap-woocommerce.
Related Issues (20)
- enhanced ecommmerce & masalah kartu kredit HOT 3
- custom change status when transaction success HOT 1
- Redirection status code 301, 302 and 303 are not supported. Use 307 or 308 instead. HOT 2
- Easier to understand payment option name on `Midtrans Credit Card Direct` to prevent merchant misusing it HOT 1
- Allow merchant to specify Acquring Bank on credit card full payment (main payment) option HOT 4
- Pending payment status HOT 2
- Biaya transaksi dibebankan ke customer HOT 3
- Payment paid via Midtrans WC plugin does not have WC Order's transaction ID HOT 3
- WooCoomerce Pending Payment Status HOT 2
- Plugin conflict and unable to load Jquery HOT 1
- 503 HOT 2
- Suggestion to make Snap payment pop-up on checkout page, so that it allow customer to revise their cart HOT 13
- [Enhancement] Prevent empty string values from `getOrderProperty` func return value
- Cegah Customer Untuk Memilih Payment Method Berulang Jika Terdeteksi Ada Link SNAP Yang Sedang Aktif HOT 5
- Tidak otomatis complted saat setelah bayar HOT 1
- Refund webhook notification, causes unexpected err: Too few arguments to function WC_Midtrans_Utils::check_and_restore_original_order_id() HOT 3
- Logo Mandiri VA / Bill HOT 2
- Menggunakan Custom order number sebagai pengganti order ID
- < TLS client: Protocol version not supported or Handshake failure TLS client: Protocol version not supported or Handshake failure
- Tidak ada metode pembayaran yang tersedia. Mungkin error ini disebabkan oleh pihak kami. Silakan hubungi kami jika Anda membutuhkan bantuan untuk melakukan pemesanan. HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from snap-woocommerce.