popekabu / pay_with_paystack

MIT License
9 stars 21 forks source link

TextField on Focus Exception #25

Open manAlpha opened 1 month ago

manAlpha commented 1 month ago

It works fine, the reference uuid is okay and all until I press the TextField to enter something, then it automatically re-route to the error page with the message duplicated transaction reference even though the reference was unique and not a duplicate. This happens with both MoMo and Card.

Could it be because I haven't set up a callbackUrl in my dashboard yet or something else?

popekabu commented 1 month ago

I will look into it after work today. Callback url shouldn’t be the reason though.

Thanks

On Tue, 16 Jul 2024 at 1:41 AM, manAlpha @.***> wrote:

It works fine, the reference uuid is okay and all until I press the TextField to enter something, then it automatically re-route to the error page with the message duplicated transaction reference even though the reference was unique and not a duplicate. This happens with both MoMo and Card.

Could it be because I haven't set up a callbackUrl in my dashboard yet or something else?

— Reply to this email directly, view it on GitHub https://github.com/popekabu/pay_with_paystack/issues/25, or unsubscribe https://github.com/notifications/unsubscribe-auth/AGMACNOZLX66KFY4LP7BPETZMR26DAVCNFSM6AAAAABK5TCWHGVHI2DSMVQWIX3LMV43ASLTON2WKOZSGQYDSOJYG4ZTMOA . You are receiving this because you are subscribed to this thread.Message ID: @.***>

popekabu commented 1 month ago

Sorry. Allow me to ask. When you say textfield. Is it a flutter widget or a text box after the paystack screen shows for you to enter your card or momo details

On Tue, 16 Jul 2024 at 1:41 AM, manAlpha @.***> wrote:

It works fine, the reference uuid is okay and all until I press the TextField to enter something, then it automatically re-route to the error page with the message duplicated transaction reference even though the reference was unique and not a duplicate. This happens with both MoMo and Card.

Could it be because I haven't set up a callbackUrl in my dashboard yet or something else?

— Reply to this email directly, view it on GitHub https://github.com/popekabu/pay_with_paystack/issues/25, or unsubscribe https://github.com/notifications/unsubscribe-auth/AGMACNOZLX66KFY4LP7BPETZMR26DAVCNFSM6AAAAABK5TCWHGVHI2DSMVQWIX3LMV43ASLTON2WKOZSGQYDSOJYG4ZTMOA . You are receiving this because you are subscribed to this thread.Message ID: @.***>

manAlpha commented 1 month ago

The text box after Paystack screen loads where you supposed to enter Momo number, account number, cvv or expiray date. When any one of these get a focus, then this exception happens.

I even changed some of your code to narrow down the cause of the problem and the whole 'build' Widget recall/rebuild whenever there is a focus on any of the listed above TextField (space to enter info).

popekabu commented 1 month ago

I personally think its an issue with paystack but will do some investigations on it more

https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail Virus-free.www.avast.com https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail <#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>

On Tue, Jul 16, 2024 at 4:00 PM manAlpha @.***> wrote:

The text box after Paystack screen loads where you supposed to enter Momo number, account number, cvv or expiray date. When any one of these get a focus, then this exception happens.

I even changed some of your code to narrow down the cause of the problem and the whole 'build' Widget recall/rebuild whenever there is a focus on any of the listed above TextField (space to enter info).

— Reply to this email directly, view it on GitHub https://github.com/popekabu/pay_with_paystack/issues/25#issuecomment-2231300573, or unsubscribe https://github.com/notifications/unsubscribe-auth/AGMACNL7UGYQREQ5OSWP3CTZMU7SBAVCNFSM6AAAAABK5TCWHGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEMZRGMYDANJXGM . You are receiving this because you commented.Message ID: @.***>