I am building an application that will need to create some database records in an external database when an order is purchased/completed.
So when the customer makes the purchase from our One Page Checkout cart page, I am hoping to use an Event Observer on
checkout_type_onepage_save_order_after and then connect to my external database and make an
order database entry as well as a separate entry for each order item in my other database.
So my question is, how can I test my observer that should be triggered or caught when the order process is completed without you know, using my own credit card!?
Is there some sort of way to trigger or tesdt my code with PHP in a test file? Or some other way to make a test purchase on the live site?