Set up summary
To accept payments with Authorize.net in PaymentKit, you will need to:- Generate Authorize.net API credentials
- Configure Authorize.net fraud settings
- Connect Authorize.net to PaymentKit
- (Optional) Enable Apple Pay
- (Optional) Enable Google Pay
Generate API credentials in Authorize.net
PaymentKit needs your API Login ID and Transaction Key to securely communicate with Authorize.net.- In your Authorize.net account, navigate to Account → Security Settings → API Credentials & Keys
- Copy your API Login ID
- Click New Transaction Key → Submit
- Enter the verification PIN sent to your email/phone
- Copy the Transaction Key
Ensure test mode is turned off before going live.
Configure Authorize.net fraud settings
- In your Authorize.net account, navigate to Tools → Fraud Detection Suite
-
Ensure your settings align with recommended configurations:
Authorize.net fraud settings
Click to expand fraud setting recommendations.
- Run the Setup Wizard
Make sure “Process as normal and report filter(s) triggered” is selected in Setup Wizard.
Connect Authorize.net to PaymentKit
- Navigate to Developers → Payment Processors
- Click Add Processor and select Authorize.net
- Enter your API login ID and Transaction Key
- Turn on the payment methods you want to accept payments in (for Apple Pay and Google Pay, you will need to complete the additional steps below)
Enable Apple Pay
Apple Pay requires a custom domain and a valid Apple Pay Merchant Identity Certificate. This section walks you through what’s needed so your website can securely accept Apple Pay payments through Authorize.net and PaymentKit.Enable Apple Pay
Click to expand Apple Pay setup instructions
Enable Apple Pay
Click to expand Apple Pay setup instructions
Authorize Apple Pay in Authorize.net
- In Authorize.net, enable Apple Pay as a payment method following their guides (guide 1 / guide 2)
- Verify your website domain with Apple to allow it to process Apple Pay transactions — this ensures that your domain is authorized to initiate payments
Create an Apple merchant ID
- In the Apple Developer Portal, n avigate to Identifiers → Merchant IDs
-
Click ”+” to create a new merchant ID, and enter:
- Description: e.g.,
"Apollo Apple Pay" - Merchant Identifier: e.g.,
merchant.com.apollo
Generate a certificate signing request (CSR)
To authorize Apple Pay for your Merchant ID, you need a certificate containing a private key:- On macOS, open Keychain Access → Certificate Assistant → Request a Certificate from a Certificate Authority
- Enter your email and a common name for the key (e.g.,
"Apollo Apple Pay Key"). - Save the request to disk and choose a 2048-bit RSA key. This produces a
.certSigningRequestfile - Upload this CSR in the Apple Developer Portal to generate your Apple Pay Merchant Identity Certificate (
.cerfile) — download this
- Description: e.g.,
Export and convert the certificate
- Install the
.cerin your macOS login keychain - Expand the certificate entry to view the private key
- Export the certificate + private key as a
.p12file, and set a password - Convert the
.p12to a.pemprivate key for PaymentKit using Terminal:
Make sure the
.p12 contains both the certificate and private key — otherwise the .pem will not work.Turn on Apple Pay in PaymentKit
- Navigate to Developers → Payment Processors
- Edit your Authorize.net processor settings
- Turn on Apple Pay and upload the
.cerand.pemfiles - Enter your Authorize.net** Account ID** and Merchant Name
Enable Google Pay
Google Pay requires a Google Pay Merchant Account and a verified Merchant ID. This section walks you through what’s needed so your website can securely accept Google Pay payments through Authorize.net and PaymentKit.Enable Google Pay
Click to expand Google Pay setup instructions
Enable Google Pay
Click to expand Google Pay setup instructions
Coming soon.
Embedding Apple/Google Pay into custom checkout
Once enabled, Apple Pay and Google Pay can be integrated directly into your custom checkout form using PaymentKit’s
<ElementsForm />. Click to learn more.