---
page_source: https://juspay.io/sea/docs/digital-wallets-sea/docs/resources/troubleshooting--faqs
page_title: Troubleshooting & FAQ's
---


# FAQ’s



## FAQs:

### 1. How to differentiate DPAN and MPAN for a completed transaction?

Apple Pay transactions may use:

* **MPAN (Merchant PAN)**  → Merchant-facing PAN representation
* **DPAN (Device Tokenized PAN)**  → Unique token per device

You can inspect **token type**  in Order Status API in field: "`issuer_token_type": "MPAN/DPAN`"


#### Shell Code Snippet:

```shell
"wallet": {
        "txn_flow_type": "DIRECT_DEBIT",
        "payment_method": "JP_APPLEPAY",
        "sub_details": {
            "card": {
                "card_brand": "MASTERCARD",
                "network": "MASTERCARD",
                "masked_pan": "XXXXXXXXXXXX8355",
                "card_type": "CREDIT",
                "token_isin": "52042404",
                "token_last_four_digits": "8355",
                "card_last_four_digits": "7599",
                "card_issuer_country": "US",
                "issuer_token_type": "MPAN"
            }

```


### 2. Does every card support MPAN?

No. MPAN support varies by issuer and network, if unavailable Apple Pay falls back to DPAN.

### 3. What are the valid paymentMethod values for one-time and recurring transactions?

For One-Time transactions (**DPAN** ):**** `"paymentMethod": "APPLEPAY"`For Mandate Payments (**MPAN** ): `“paymentMethod“ : “JP_APPLEPAY“`

### 4. What is the minimum iOS SDK version required for mandates to work in the old flow?

To enable mandates in the old Apple Pay flow, update to:`iOS SDK version: 2.2.4.10`

### 5. Can the new Apple Pay flow be used for one-time transactions as well?

Yes. The new flow supports both **MPAN**  and **Juspay Decryption**  processes, and it can also be used for normal one-time payments.Below are the only changes for normal payment flow in existing `sdkWalletEligibility` and `walletTxn` calls.

* The **mandate block**  is not required.
* Use `paymentMethod`**=** `APPLEPAY` instead of `JP_APPLEPAY`.
* Set `shouldCreateMandate`**=** `false`

### 6. How can I enforce a specific gateway during Apple Pay transactions?

If a particular gateway needs to be enforced for Apple Pay transactions, ensure that the `gateway_Reference_id` is configured on the **Juspay Dashboard** .

Then, pass the same value as the parameter `gatewayReferenceId` in the following API calls:

* `sdkWalletEligibility`
* `createOrder`
* `walletTxns`

This ensures that the selected gateway is consistently used throughout the payment flow.

