Ecocash USSD prompt not showing


#1

Can someone assist with this ,im initiating a mobile payment request -Ecocash and getting the following response from Paynow but the USSD prompt does not show on the device .

i’m using the flutter sdk


#2

Hi there @simboyy . I’m failing to reproduce your error on my side.

Are you using the latest version the paynow package ?

If you’re using the latest version, try this

  1. Clone the paynow package from Github.
  2. Navigate to the test folder via terminal/cmd
  3. Edit the test_express_checkout_status_stream.dart adding your keys
  4. Enter your phone number in the sendMobile method.
  5. Save the file
  6. Run the following command in your terminal dart test_express_checkout_status_stream.dart
  7. Observe the output and your phone, if unsuccessful please send screenshots of any encountered errors

#3

Your requested amount was $176,785.71 , may you try a value thats within the Ecocash single transaction limit


#4

Oh wow. Thanks!! Had totally missed that. :smile:.

I think it be good idea to throw an error on such requests . OR
Since the limit won’t be changing anytime soon, would it be a good idea to have SDK check before sending a request