Setup Payment Methods
This page details the process for configuring payment methods for Stripe and Coinbase.
The Reseller API feature is under development due to recent upgrades to Polygon L2. When the Reseller feature resumes, it will only support domains and wallets on the Polygon L2 network. See the Polygon Developer Integration Guide for next steps.

Locate Your Reseller ID

To integrate payment methods for Stripe and Coinbase for your customers, you must know your resellerID. This information can be found in your UD Reseller Dashboard.
Location of ResellerID in UD Reseller Dashboard

Stripe Setup (for Credit Cards, PayPal, ApplePay, etc.)

Unstoppable Domains supports Stripe payments. Stripe is a payment provider that allows you to accept credit cards, PayPal, and Apple Pay from customers. This is a recommended and secure payment method for resellers that mostly use client side applications.
The following diagram shows the general process that takes place between Stripe and Unstoppable Domains, after a customer buys a domain.
Payment flow for Stripe Customer Orders

Create a Stripe Account

You must Create a Stripe Account in advance before you connect it to your Unstoppable Domains reseller account.

Connect Stripe to Unstoppable Domains

There is a stripe connect button in the UD Reseller Dashboard for live and test connections. At UD, we use a different stripe API key for live and test orders. These Stripe API keys are public keys and they are safe to reveal.
  • pk_test_* (reseller-test-* namespace)
  • pk_live_* (all other domains)
The Stripe Live Connect Button is how you get paid by Unstoppable Domains when your customers make a purchase; it uses real money and generates real transactions. The Stripe Test Connect Button does not involve real money and uses test credentials to integrate.
Strive Live and Stripe Test payment setup areas
After clicking the Stripe Live or Stripe Test Connect Button, you will be walked through the Stripe Integrations form.
Stripe integrations form to connect your Stripe and UD accounts
Once your Stripe and Unstoppable Domains accounts have been connected, your Stripe API key will appear directly in your Stripe Dashboard.

Other Stripe Considerations

To begin accepting payments from your customers, Stripe requires you to embed their form into your application or website. Please see the documentation for Accepting Payments using Stripe for more information.
Stripe generates a token ID for each transaction, which is later used by UD to process the ‘Buy Domain’ API endpoint. This keeps Unstoppable Domains from needing to store your customer’s sensitive data. Please see the documentation for Accepting Payments using Stripe Elements for more information.

CoinBase Setup (for Bitcoin and other crypto currencies)

Unstoppable Domains supports Coinbase payments. Coinbase allows you to accept other forms of payments from your customers, such as bitcoin, litecoin, and other crypto currencies.
The following diagram shows the general process that occurs between CoinBase and Unstoppable Domains, after a customer buys a domain.
Payment flow for Coinbase Customer Orders

Configure Coinbase for Unstoppable Domains

To begin accepting crypto payments from customers, UD resellers must ensure that Coinbase integration is configured correctly. A wallet transaction should make a ‘Buy Domain’ call with the payments field defined to “coinbase.” UD will respond with the coinbase chargeID which can be used with the Coinbase API.
The example below shows how to properly configure the wallet information to process a coinbase transaction:
1
{"data":{"addresses":
2
{"ethereum":"0x868d6f546fbe306fda3b2b34df3fca35c8fe8c33","usdc":"0x868d6f546fbe306fda3b2b34df3fca35c8fe8c33","litecoin":"LhqK9aSgGYZQGKHZ93GEetQzZozpq5SQSG","bitcoincash":"qr3u0efzpz9nkg5u8acc2e24n496jcd57c8t0ljmdf","bitcoin":"17xbgqD9yhUwovkNTwffqd7UcejDjYfsp7"},"code":"BDCL6NRV","created_at":"2019-10-02T14:38:22Z","description":"Purchase for 1 domains","exchange_rates":
3
{"BCH-USD":"222.585","BTC-USD":"8220.74","ETH-USD":"175.89","LTC-USD":"55.425","USDC-USD":"1.0"},"expires_at":"2019-10-02T15:38:22Z","hosted_url":"https://commerce.coinbase.com/charges/BDCL6NRV","id":"cff51903-9237-49eb-88c3-8878d2360de6","name":"Unstoppable Domains Purchase","organization_name":"Unstoppable Domains Inc.","payments":[],"pricing":
4
{"local":{"amount":"10.00","currency":"USD"},"ethereum":{"amount":"0.056854000","currency":"ETH"},"usdc":{"amount":"10.000000","currency":"USDC"},"litecoin":{"amount":"0.18042400","currency":"LTC"},"bitcoincash":{"amount":"0.04492666","currency":"BCH"},"bitcoin":{"amount":"0.00121644","currency":"BTC"}},"pricing_type":"fixed_price","resource":"charge","support_email":"[email protected]","timeline":
5
[{"status":"NEW","time":"2019-10-02T14:38:23Z"},{"status":"EXPIRED","time":"2019-10-02T15:38:29Z"}]},"warnings":["Missing X-CC-Version header; serving latest API version (2018-03-22)"]}
Copied!

Tracking the CoinBase Transaction

To track whether the customer’s payment was processed successfully, the developer can use the Order Status API endpoint.

Other CoinBase Considerations

The chargeID token is unique to each customer order, which is a secure method that allows UD to easily track your customer’s payments through the ‘Buy a Domain’ API endpoint. Please see the documentation for Crypto Payments using CoinBase for more information.
To begin accepting crypto payments from your customers, Coinbase offers several methods of integrating their services into your application or website such as payment buttons, hosted pages, and shopping cart plugins. Please see the documentation for CoinBase Commerce API for more information.
Last modified 16d ago