Git Product home page Git Product logo

ios-paymentgateway_authorizenet's Introduction

Payment Gateway

[Project created with Xcode V11.2.1] [Deployment Target >= 13.0]

Documentation

Prerequisites

  1. Register Authorize.Net Account Register Here

Getting Started

  1. Authorize.Net Developer Sandbox Account: Link
    1. Credentials
      Log in in to your Authorize.Net Developer Sandbox Account. Click on Account and in the section Security Settings.
      • Click on Manage Public Client Key, and Create a New Public Client Key (click on Submit).
      • Click on API Credentials & Keys, and Create a New Key, select New Transaction Key then click on Submit. Copy the API Login ID and Transaction Key. IMPORTANT: Be sure to record your Transaction Key immediately in a secure manner or copy it immediately to a file in a secure location as it is not always visible in the Merchant Interface like the API Login ID.
      • To test your Authentication Credentials, enter to here and in the section Test Your Authentication Credentials enter your Sandbox Credentials copied.
  2. Install CocoaPods and Pods AuthorizeNetAccept & AEXML
    • If you don't have cocoapods installed:
      % sudo gem install cocoapods
      
    1. Create Podfile within of your project
      % pod init
      
    2. Add Pods in your Podfile file created
      pod 'AuthorizeNetAccept'
      pod 'AEXML'
    3. Install Pods
    % pod install
    

Project Base.

The Authorize.Net API is not REST, so it requires the request structure to be identical to that of the .xsd. Below are the classes created so that requests are possible to perform.

  • TransactionRequest.swift: To create an XML Request
  • TransactionResponse.swift: To create an XML Response
  • APIAuthorizeNetManager.swift: To handle Authorize.Net requests

ios-paymentgateway_authorizenet's People

Contributors

thaliees avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.