roam/aweber/20210112104838-stripe_payments_service.org
2021-09-01 16:57:39 -04:00

2.7 KiB

Stripe Payments Service

Overview

The Stripe Payments service mediates purchases made by buyers from AWeber customers through the Stripe payment platform and delivers their goods via list subscription.

How It Works

Ordering

The order endpoint prepares a Payment Intent with Stripe that the buyer will pay directly using Stripe's public API. The payment intent captures the amount to be paid, any fees that AWeber will collect, and account and list metadata used to fulfill the order.

Email validation

Emails are checked against the CP Email Validation Service to ensure they can be added as subscribers successfully. The following steps are performed by the service:

  1. Validates that the format of the submitted email address matches AWeber's internal email formatting rules.
  2. Applies address normalization to remove any ISP specific markup.
  3. Extracts the domain-part from the normalized address and validates that there are MX records for the domain-part via DNS lookup.
  4. Checks if the both the submitted and normalized version of the email address would be blocked by the blocklist.

Should the validation service fail unexpectedly or be unavailable at the time an order is placed, a warning will be logged and only the email format check will be performed.

CAPTCHA

Domain validation
Allowed domains

The following root domains provided by AWeber for Web Content (a.k.a Landing Pages) always pass CAPTCHA domain validation:

  • aweberpages.com
  • aweb.page
Custom domains

All other domains are checked against the Custom Domain Service to ensure they are owned and managed by the AWeber account from which the purchase is being made.

Fees

Fees are collected for each sale as a percentage of the sale value configured in the Service Limits API for the AWeber account, rounded to the nearest cent with a minimum fee of $0.01.

Fulfillment

Adding the subscriber

Subscribers are added to the list configured for the payment if they are not already subscribed. If the subscriber is currently on the list in an unconfirmed state, they will be marked as subscribed. Any tags configured for the sale will be added to the subscriber.

Purchase Tracking

A Pageview Event is emitted with details of the order so that the purchase is tracked in the subscriber's activity.