Skip to content

This repository contains working code samples which demonstrate ruby integration with the Authorize.Net API

License

Notifications You must be signed in to change notification settings

AuthorizeNet/sample-code-ruby

Folders and files

NameName
Last commit message
Last commit date

Latest commit

18dcbe3 · Sep 19, 2024
Oct 23, 2018
Sep 19, 2024
Oct 18, 2017
Jul 19, 2023
Mar 24, 2021
Feb 22, 2024
Jul 23, 2024
Mar 6, 2019
Mar 24, 2021
Mar 4, 2020
Sep 2, 2024
Jul 12, 2017
Mar 31, 2021
Jul 23, 2024
May 11, 2015
Nov 15, 2018
Jun 29, 2016

Repository files navigation

Ruby Sample Code for the Authorize.Net SDK

Travis CI Status

This repository contains working code samples which demonstrate Ruby integration with the Authorize.Net Ruby SDK.

The samples are organized into categories and common usage examples, just like our API Reference Guide. Our API Reference Guide is an interactive reference for the Authorize.Net API. It explains the request and response parameters for each API method and has embedded code windows to allow you to send actual requests right within the API Reference Guide.

Using the Sample Code

The samples are all completely independent and self-contained. You can analyze them to get an understanding of how a particular method works, or you can use the snippets as a starting point for your own project.

You can also run each sample directly from the command line.

Running the Samples From the Command Line

  • Clone this repository:
    $ git clone https://github.com/AuthorizeNet/sample-code-ruby.git
    $ gem install authorizenet
  • Run the individual samples by name. For example:
    $ ruby PaymentTransactions/[CodeSampleName]

e.g.

    $ ruby PaymentTransactions/charge-credit-card.rb

About

This repository contains working code samples which demonstrate ruby integration with the Authorize.Net API

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages