# Check this app against App Store Review Guideline 4.9: Apple Pay

Apple Pay apps must show all key purchase details before the sale, use Apple Pay branding correctly, and spell out the terms of recurring payments.

Go through this codebase for each problem below. For each one that applies, fix it on a new git branch with the steps for this app's stack (React Native and Expo, Swift, or Flutter). If none apply, say so and why.

## Recurring Apple Pay charges may lack the required terms

Usually a rejection.

**What Apple wants:** Before a recurring Apple Pay charge, Apple requires the renewal period and that it runs until canceled, what each period includes, the real charge, and how to cancel (Guideline 4.9).

**How to fix it:** Show the renewal period, what is included, the price and how to cancel before the Apple Pay button.

Steps:

1. Add a short terms block above the Apple Pay button with all four details.
2. Use a recurring payment request so the Apple Pay sheet shows the schedule too.

## The Apple Pay button may not follow Apple's design rules

Often a rejection.

**What Apple wants:** When an app takes Apple Pay, it has to use Apple's official button and branding as Apple's design guides describe (Guideline 4.9). Reviewers reject homemade buttons and logos.

**How to fix it:** Use the system Apple Pay button.

Steps:

1. Replace the custom button with the system Apple Pay button, or your payment SDK's version of it.
2. Use only Apple's approved button labels and styles, and write the name as "Apple Pay".

## Apple Pay may start before the full price is shown

Often a rejection.

**What Apple wants:** Before an Apple Pay sale, the app has to show every key purchase detail, including the total and any fees (Guideline 4.9).

**How to fix it:** Show the item, the total and all fees before the Apple Pay button.

Steps:

1. List the item, fees, shipping and taxes on the screen with the Apple Pay button.
2. Pass the same line items to the Apple Pay sheet so the totals match.

---

AppScend checks an app against every guideline at once, on the developer's Mac: `npx appscend scan --json` in the app's root folder (docs: https://appscend.ai/docs).

Source: https://appscend.ai/guidelines/4-9
