Please see the Ecommerce Templates website located at http://www.ecommercetemplates.com/phphelp/ecommplus/payjunction.asp for detailed integration instructions to point orders to the PayJunction gateway.
Instead of the "Merchant ID", you will be using your "Hosted Payments Store ID" which can be located in your PayJunction.com account by going to More >> Hosted Payments.