Richard Korts
asked on
Find Authorize.net required includes
I want to add the ability to a customer web site to accept direct bank account payments; currently, we accept credit cards.
We use Authorize.net. All server side programming in php.
I found the attached code from Authorize.net, I think I see how it functions, but it's terribly over simplistic & obviously depends upon being encased in some
environment, for example, these lines at the top:
require 'vendor/autoload.php';
require_once 'constants/SampleCodeConst ants.php';
use net\authorize\api\contract \v1 as AnetAPI;
use net\authorize\api\controll er as AnetController;
Does someone have Authorize.net experience & can help me link to the necessary includes, etc?
Thank you.
We use Authorize.net. All server side programming in php.
I found the attached code from Authorize.net, I think I see how it functions, but it's terribly over simplistic & obviously depends upon being encased in some
environment, for example, these lines at the top:
require 'vendor/autoload.php';
require_once 'constants/SampleCodeConst
use net\authorize\api\contract
use net\authorize\api\controll
Does someone have Authorize.net experience & can help me link to the necessary includes, etc?
Thank you.
they have a lot of examples on github and in their developer resources. https://github.com/AuthorizeNet/sample-code-php/blob/master/PaymentTransactions/charge-credit-card.php
ASKER
Sorry to be so stupid, the exact same sample I attached to my post is there, where do I get these?
require 'vendor/autoload.php';
require_once 'constants/SampleCodeConst ants.php';
use net\authorize\api\contract \v1 as AnetAPI;
use net\authorize\api\controll er as AnetController;
I have no clue where the web address is for that stuff.
Thank you
require 'vendor/autoload.php';
require_once 'constants/SampleCodeConst
use net\authorize\api\contract
use net\authorize\api\controll
I have no clue where the web address is for that stuff.
Thank you
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
That looks good.
I'll see where that leads.
Thank you.
I'll see where that leads.
Thank you.