No REF Cache with test card preauthorization validation


When trying to validate a preauthorization charge with Rave with a “success” test card, I am getting No REF Cache error with Rave.


With Successful test cards, I would expect any action to work. How can I make sure the integration works without testing first the preauthorization workflow with a test card?

Sample code to reproduce

rave = Rave([...])
res = rave.Preauth.charge(sample_payload_with_success_card)
res = rave.Preauth.validate(res["txRef"], sample_success_card_otp)  # error raised here: Invalid transaction attempt. No REF Cache

Card used from docs for example: 5531886652142950

Please let me know of any way to get this to work! Thank you
Merchant ID: 100637876