popekabu / pay_with_paystack

MIT License
9 stars 21 forks source link

Transaction Amount Mismatch Issue #20

Closed ZAINBASHARATALI closed 2 months ago

ZAINBASHARATALI commented 2 months ago

The amount entered and amount transaction on paystack payments screens is mismatched. 3500 entered becomes 35, 1509 becomes 15.09

This issue is shown in the video as well which you attached as demo, like you entered 20000 but it became 200 on paystack payments screen. Please try to fix this issue as soon as possible. Thanks

Williamtobs commented 2 months ago

Multiply the amount by 100 to get the right amount on payment screen.

ZAINBASHARATALI commented 2 months ago

Thanks my friend, i check and found that multiplying by 100 is a requirement. Thank you so much for your response.

On Thu, 20 Jun 2024 at 1:16 PM, WilliamTobs @.***> wrote:

Multiply the amount by 100 to get the right amount on payment screen.

— Reply to this email directly, view it on GitHub https://github.com/popekabu/pay_with_paystack/issues/20#issuecomment-2180088208, or unsubscribe https://github.com/notifications/unsubscribe-auth/APAKJ6KX34NN2SNNMJJSFWTZIKFUDAVCNFSM6AAAAABJGJHBKWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCOBQGA4DQMRQHA . You are receiving this because you authored the thread.Message ID: @.***>

popekabu commented 2 months ago

Thank you @Williamtobs for explaining to him. In the docs for amount in your IDE, I explained it

/// Amount you want to charge the user. Add extra two zeros after typing the amount
    required String amount,

Sorry @ZAINBASHARATALI for the delay, I have been inactive for sometime. I am open to anyone looking forward to helping make this plugin more.

Cheers