Status not set” error on Paynow Express checkout in Laravel (PHP SDK)


#1

Hello Paynow Dev Team,

I’m integrating Mobile Express checkout in a PHP/Laravel app and every test transaction is returning:

status=Error
error=Status not set.

Environment & tooling

  • Language / framework: PHP 8.2, Laravel 12
  • Package: paynow/php-sdk (version ^1.0 )
  • Integration ID: 22407 (Adlense Network Pvt Ltd)
  • Integration key: 6cce63da-b5df-4156-a0a3-3e7883cd1665
  • Sandbox login email we’re using: ddstarbelieveitgmail.com**

What we send

Using the SDK we call sendMobile() with:

  • Reference: random PN-XXXXXXXXXX
  • Amount: e.g. 49.99
  • Method: ecocash
  • Phone: 0771111111 (also tested with other sandbox MSISDNs)
  • Auth email: ddstarbelieveit[gmail.com](cci:4://file://gmail.com:0:0-0:0)

The SDK auto-adds all required fields ( id , resulturl , returnurl , hash , status , etc.).

Result

Paynow replies with status=Error&error=Status not set. The Laravel log confirms this:

Paynow initiation returned non-ok status {“status”:“Error”,“error”:“Status not set.”}

Could you please check if this sandbox integration is correctly provisioned for Express checkout and whether the email/MSISDN combo above is authorised? Let me know if there’s any extra configuration we need on our side.

Thanks!


#2

Good day @davidmafigu

Kindly remove your integration key from the post.

Please share your code snippet.

Please find the PHP Quick start guide below