added option to pass in request headers in the options hash so we can pass in the originating IP address on purchase