Skip to content

The arrays in the code are getting reset with each user selection #2

@chepekaunda

Description

@chepekaunda

Hi,
Thank you for this code. Am using a Live gateway and I have a problem. The two arrays $ussd_string_exploded & $details seem to be getting reset with each user input. When user selects dials the short code they are presented with a menu. When the user makes a selection e.g. 1 the $ ussd_string_exploded array store that value at [0] and parses it to the $details array. When user enters the pin that input replaces the 1 value at [0] in the $ussd_string_exploded and henceforth changes the count in the $details array and I still get "please enter pin". Could you please help on this.
Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions