teranet 0 Newbie Poster

Hello there,
i need little bit help. I want to build voucher system. It should be like this user choose 3 vouchers, give the recipient details, and it goes to secure payment gateway. If the payment is completed then the system builds the pdf and sends it from the user input. The problem for me arises, because i dont have account for testing, how the system would know that the payment is done. I've found how to create the pdf from user input but i need way to check if the payment was done or not.
Is this good idea or it would be better to create user to log in and than based on user subscription to have the application to send the pdf?
Any suggestion are welcome or maybe there is something similar to this already done

Thank you

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.