Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is there better documentation? #402

Open
rolinger opened this issue Dec 17, 2020 · 4 comments
Open

Is there better documentation? #402

rolinger opened this issue Dec 17, 2020 · 4 comments

Comments

@rolinger
Copy link

rolinger commented Dec 17, 2020

Is there better documentation hiding somewhere?

Without the few limited examples I would not have been able to get a barebones procedure written that returns me a token. But beyond that, without having to go read the source code, where can I find real documentation that shows what each construct is supposed to be.

For example, in the following code, that was pulled from one of the examples:

    //create a transaction
    $transactionRequestType = new AnetAPI\TransactionRequestType();
    $transactionRequestType->setTransactionType("authCaptureTransaction");
    $transactionRequestType->setAmount($sendData['balance']);

How would I know that these were the method types and the proper calls to setting the object values? If there is no documentation (which would be on par for what I have seen related to Authorize.net in general) then is there a FULL example somewhere I can pull the proper usage for each of the method types?

@rickmacgillis
Copy link

Unfortunately Visa is to rich to care about making sure their products work. As long as they can fill their coffers still, they'll stop supporting tech people rely on, like this project. It's the disgusting truth about capitalism.

@ghost
Copy link

ghost commented Dec 23, 2020

The official API documentation is on their developer site here. It's pretty comprehensive although I am usually scratching my head about handling responses and don't know where to get good info for that. To get any more in-depth knowledge I have to randomly search the source code and muddle through.

@rolinger
Copy link
Author

I have finally managed to get my first full payment transactions working and create customer profiles using that transaction. But man, this has been VERY painful. Its like their documentation was written by 5 different departments that have no idea what each is doing.

The API methods are atrocious. All the documentation is flat (left-aligned) so its really hard to figure what is a method versus what is a method parameter. In some cases I have seen a single * as method, and in other cases I have seen a single * as a method property. As well, lets create a customer profile ID shall we, one would think you would call::

      $profileType = new AnetAPI\CustomerProfileType();
      $profileType->setCustomerProfileId($ss['authCustProfileID']) ;
      $transactionRequestType->setProfile($profileType) ;

Uh....but nope, its actually this:

      $profileType = new AnetAPI\CustomerProfilePaymentType();
      $profileType->setCustomerProfileId($ss['authCustProfileID']) ;
      $transactionRequestType->setProfile($profileType) ;

Sure, it makes sense, lets pass the customerProfileId by using the CustomerProfilePaymentType instead - ok, that was sarcasm.

Possibly the worst documentation I have ever seen.....especially considering were talking about one of the largest, if not THE largest, merchant gateway processor in the world. Have you call their tech support??!!! Fuh-git-aboutit - might as well be calling them for medical advice, because it doesn't matter what the subject is.....they are pretty clueless. I was actually told by one gal from tech support "we aren't a web developer company" and she proceeded to simply point me back to the same pathetic API docs I was calling to inquire about in the first place. NO....your not a web development company, but the product you sell is pretty much 99% coding centric - you better have some damn coders who know the f'n system to assist.

This has been a VERY frustrating experience. I coded FattMerchant in 3 days....Authorize.net so far has taken me 14 and I am still working on it. Its god d**ned exhausting!

@rickmacgillis
Copy link

I have finally managed to get my first full payment transactions working and create customer profiles using that transaction. But man, this has been VERY painful. Its like their documentation was written by 5 different departments that have no idea what each is doing.

The API methods are atrocious. All the documentation is flat (left-aligned) so its really hard to figure what is a method versus what is a method parameter. In some cases I have seen a single * as method, and in other cases I have seen a single * as a method property. As well, lets create a customer profile ID shall we, one would think you would call::

      $profileType = new AnetAPI\CustomerProfileType();
      $profileType->setCustomerProfileId($ss['authCustProfileID']) ;
      $transactionRequestType->setProfile($profileType) ;

Uh....but nope, its actually this:

      $profileType = new AnetAPI\CustomerProfilePaymentType();
      $profileType->setCustomerProfileId($ss['authCustProfileID']) ;
      $transactionRequestType->setProfile($profileType) ;

Sure, it makes sense, lets pass the customerProfileId by using the CustomerProfilePaymentType instead - ok, that was sarcasm.

Possibly the worst documentation I have ever seen.....especially considering were talking about one of the largest, if not THE largest, merchant gateway processor in the world. Have you call their tech support??!!! Fuh-git-aboutit - might as well be calling them for medical advice, because it doesn't matter what the subject is.....they are pretty clueless. I was actually told by one gal from tech support "we aren't a web developer company" and she proceeded to simply point me back to the same pathetic API docs I was calling to inquire about in the first place. NO....your not a web development company, but the product you sell is pretty much 99% coding centric - you better have some damn coders who know the f'n system to assist.

This has been a VERY frustrating experience. I coded FattMerchant in 3 days....Authorize.net so far has taken me 14 and I am still working on it. Its god d**ned exhausting!

lol That's WHY they do that. They don't care about you. They care about cash, and as long as they're at the top, they don't have a reason to grow. The best thing we can do to make them start to care is to destroy capitalism. That'll remove them from their power horse, but it's more of a decades-long process at best.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants