# Check this app against App Store Review Guideline 5.1.2(vii): Apple Pay Data

Data from Apple Pay goes to third parties only to deliver or improve the order.

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.

## Apple Pay details may be shared beyond the order

Often a rejection.

**What Apple wants:** What the app receives through Apple Pay may only be passed to third parties to deliver or improve the goods and services that were ordered (Guideline 5.1.2(vii)).

**How to fix it:** Send Apple Pay details only to the services that process and deliver the order.

Steps:

1. Remove Apple Pay contact details from analytics events, mailing lists and ad tools.

---

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/5-1-2-vii
