Emisión de tarjeta digital (DCI)
The Digital Card Issuance process enables the issuance of a new, anonymous transit card directly from Apple Wallet.
Workflow
Below are the high level steps of the DCI workflow:
Fare Product Selection & Payment: user selects the fare product he wants to purchase. Once selected, user authorizes the purchase of the selected fare product and the payment is processed by the PSP.
Provisioning: Apple fetches the provisioning bundle containing the card details.
Provisioning Outcome: Apple sends a notification indicating the provisioning result.
Sequence diagram
Fare Product Selection & Payment
The user begins by selecting the transit card within the Apple Wallet and loading it with an eligible fare product of their choice. Before proceeding to payment, Apple Wallet will present the transit issuer's terms and conditions, which the user must review and accept to continue. Once accepted, the user will be directed to a payment interface displaying a payment sheet, where they can choose an eligible payment card to complete the purchase.
Error scenarios
When a payment failure or timeout occurs, Apple Wallet displays a red exclamation mark to the user. The user can retry the payment using the same or a different payment sheet, with either the same or a different payment credential.
Retry with same payment sheet
In this case, the same orderId will be used. Transit issuer needs to check the status of the payment linked to that orderId. It's possible that the existing payment was successfully processed by the PSP, but due to a delay, the previous attempt timed out.
Retry with a different payment sheet
Here, a new orderId is generated for this new payment request.
It is important to note that the Transit Issuer shall start preparing the data required to issue the digital card as soon as the payment request is validated with the PSP
Provisioning
Once the user has successfully completed payment, Apple sends a request to obtain an encrypted provisioning bundle.
Error Scenarios
No request from Apple to get the provisioning bundle
A timeout period between perform payment response and request from Apple is set on D1 Transit side.
If the provisioning bundle request is not received by D1 Transit within this timeout period, card account and digital card references are completely discarded. Transit issuer shall refund the customer.
If Apple requests the provisioning bundle after the timeout, D1 Transit will notify Apple that the bundle is no longer available, prompting Apple to halt the provisioning workflow.
Provisioning Outcome
Once Apple receives the provisioning bundle, the keys and data are securely extracted and stored on the applet. After completing personalization, a notification is sent to D1 Transit to report the outcome of the provisioning workflow.
Error Scenarios
Card fails to provision onto device
If provisioning fails, Apple sends a notification to D1 Transit indicating the provisioning failure. D1 Transit notifies Transit issuer about the failure. Transit Issuer can either:
refund the customer and notify D1 Transit that the card account is deleted.
Allow the customer to reinitiate provisioning: When the users selects the transit card in Wallet, they will see the previously purchased card in 'Pending Purchase' state and can reinitiate the provisioning process.
No notification from Apple
D1 Transit has a timeout period after sending the provisioning bundle to Apple. If no notification is received within the specified timeframe, D1 Transit sends a getStatus request to Apple to check the current state of the card.
If the card's state is active, meaning the card successfully provisioned onto the device and is available for use, D1 Transit completes the workflow considering the provisioning as successful
If the card's state is not active, D1 Transit completes the workflow considering the provisioning as failed, i.e. Transit issuer is notified so it can refund the customer.
Última actualización
¿Te fue útil?