maksa988 / monobank-acquiring

MIT License
1 stars 0 forks source link

Undefined array key "finalAmount" #1

Open mishabachkur opened 12 months ago

mishabachkur commented 12 months ago

First and foremost, thank you for the excellent implementation, but during testing, I encountered an error "Undefined array key "finalAmount"" when retrieving the invoice status

Steps for reproduction: ` $config = new Config("YOUR X-TOKEN HERE"); $monobank = new MonobankAcquiring($config);

$request = new CreateRequest( 553 * 100, null, null, new MerchantPaymInfo('22', 'test') );

$invoiveResponse = $monobank->call($request);

$monobank->call(new StatusRequest($invoiveResponse->getInvoiceId())) `

Thanks

mishabachkur commented 12 months ago

@maksa988 Can you help me?