---
title: prepareStoreAndForward()
framework: proximityreader
role: symbol
role_heading: Instance Method
path: proximityreader/paymentcardreader/preparestoreandforward()
---

# prepareStoreAndForward()

Configures the pipeline for reading payment or loyalty cards in Store and Forward mode.

## Declaration

```swift
func prepareStoreAndForward() async throws -> StoreAndForwardPaymentCardReaderSession
```

## Return Value

Return Value StoreAndForwardPaymentCardReaderSession when successful.

## Discussion

Discussion Call this function to configure Tap to Pay on iPhone on someone’s device. This method verifies that the device is able to read contactless cards and is properly configured to process reads in Store and Forward mode. Prior to calling this method, make sure that your service provider has the Store and Forward feature enabled and that you created an online session in the last 24 hours. note: PaymentCardReaderError if the method fails to configure the device.
