Discussions

Ask a Question
Back to All

how to know what error code to credit card after jumping to test.sources using php

hi paymongo team,

i am using php and have implemented the webhook and credit card payment. i am ok with the successful transactions but was wondering how to know what error code was caused for declined cards from the back-end? i can read json replies but not sure how to proceed once they jump to test.sources page. the next page it comes out is the notify page after jumping back.