1

I'm using JSON DECODE to get an array out of a dataset exactly like the one described here: https://learn.quickpay.net/tech-talk/api/callback/.

Most of the data is getting fine into arrays, but I can get the [operations] data into an array - most likely because of the square brackets in the dataset.

This is my codeline:

$callback_brand = $obj['metadata']['brand']; // WORKS FINE
$callback_amount = $obj['operations']['amount']; // DOESN'T WORK

Anyone?

0 Answers0