juspay / hyperswitch

An open source payments switch written in Rust to make payments fast, reliable and affordable
https://hyperswitch.io/
Apache License 2.0
12.18k stars 1.29k forks source link

[FEATURE] Vaulting a payment method #3696

Open tinu-hareesswar opened 7 months ago

tinu-hareesswar commented 7 months ago

Feature Description

This will be the tracking issue for all Vaulting related changes.

Problem Statement

Currently, the only way a merchant can vault a card for one of his customers is through processing a payment for that customer with a setup_future_usage preference given. We want to enable the merchant to be able to vault a card for a customer through the SDK without having to process a payment.

Although there are APIs for this very purpose, it is not compatible with the SDK since it operates only with a payment client secret.

Use Cases

Screenshot 2024-02-19 at 2 16 05 PM

Sequence Diagrams

Link

Possible Implementation

Task Distribution

Payment Method changes - without authentication

Adding Auth Support

  1. Via Payment Processors

    • [ ] Add PM core to handle Connector requests which support dedicated vault APIs to store cards
    • [ ] Handling redirection flow for 3DS verification
  2. Via external 3DS provider

    • [ ] Authenticate with 3dsecure.io

Have you spent some time checking if this feature request has been raised before?

Have you read the Contributing Guidelines?

Are you willing to submit a PR?

None

shubham-chhimpa commented 6 months ago

not able to open both these links. Only people having access can open it.

https://juspay.atlassian.net/wiki/spaces/JR/pages/2260566162/Vaulting+and+Tokenization+with+Hyperswitch

https://docs.google.com/document/d/1Ox0JaOCtmhSLLxSc-OT7AdqRovzpXSxdaoODJ4LH7O4/edit?usp=sharing

tinu-hareesswar commented 6 months ago

@shubham-chhimpa - sorry these were internal docs that were linked for dev assistance, I've removed it now. Will add relevant details here.

luizaraujobliver commented 4 months ago

@tinu-hareesswar This internal developer assistance document would help us a lot, without a doubt. Can't share?