Some gateways have built their APIs to be 1-to-1 compatible with the Authorize.net AIM API. So while our integration with Authorize.net is meant to be used with the actual Authorize.net gateway, it can also be used with these gateways using the “mirror API”. This recipe will show you how to filter the pmpro_authorizenet_post_url
to point to a custom end point.
The Code Recipe
Adding the recipe to your website
Copy and paste this code recipe into a helper PMPro Customizations plugin. Update lines 8 and 10 to include the appropriate post URL as provided by your gateway for the live and test environments.
Some gateways we have interacted with that offer an Authorize.net mirror in this manner include BNG Payment Gateway and NETbilling.
Free Course: Membership Site Development—The Basics
Develop a deeper understanding of membership site development in this beginner-level course. Learn how to make your site work better, save yourself time and money, and improve your site's performance.