just1and0 / React-Native-Paystack-WebView

💸💳The package allows you accept payment using paystack and guess what, it doesn't require linking! just install and begin to use 🚀
https://paystack.com
MIT License
152 stars 101 forks source link

The reference does not match when trying to verify the transaction #137

Open Thomasosho opened 1 year ago

Thomasosho commented 1 year ago

Describe the bug response.data.transactionRef.reference is generated when a successful transaction takes place. When i try verifying using paystack's API, i get an error stating that it does not match.

Expected behavior It's supposed to verify my payment.

Upon submitting the reference to verify payment

transactionId: response.data.transactionRef.reference.toString(),
paymentGateway: 'paystack',

this is what i get

Transaction record not found
<img width="347" alt="Screenshot 2023-06-18 at 23 05 05" src="https://github.com/just1and0/React-Native-Paystack-WebView/assets/11132861/1a5e0eac-e96c-49bd-b95d-f5c2aec5e45f">
opmat commented 1 month ago

Hi @Thomasosho Can you explain how you are performing the verification? and probably upload a new screenshot as the one you uploaded is not showing