Integration and Testing

Authorize.Net API questions and help with your payment integration.

Reply
Member
Posts: 3
Registered: ‎10-27-2021

php API "hello world" not working

I'm attempting to use the authorize.net API for the first time. I made a sandbox accont and am trying to follow the steps exactly as written in the heloo world start guide:

 

https://developer.authorize.net/hello_world.html

 

I updated and ran my composer.json file, and created the charge-credit-card.php file. When I try to load the page on my website, the page breaks. I've tried commenting out lines to narrow it down, some later lines are okay but even the very first one causes page break: require 'vendor/autoload.php'; 

 

I'm currently running php 5.6.40 which they say is high enough but support chat line indicated that might not be high enough.

 

Can anyone think of any other steps I might ahve missed or reasons it might not be working? Thanks!