Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support option parameter for saving payment information #56

Conversation

visini
Copy link
Contributor

@visini visini commented Jan 11, 2024

With these changes, it's possible to do follow this approach: Customer Initiated Payment and creating an alias for subsequent Merchant Initiated Payments

See https://docs.datatrans.ch/docs/redirect-lightbox#saving-payment-information

This allows sending params within the `option` key; for example, passing `createAlias: true` within `option` to save payment information after the customer has finalized their payment or registration.
Copy link
Contributor

@andyundso andyundso left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

perfect!

It took me like an hour trying to find this createAlias but was unable to find it 🙈

@andyundso andyundso merged commit e8206f1 into simplificator:master Jan 11, 2024
18 checks passed
@visini visini deleted the support-option-parameter-for-saving-payment-information branch January 11, 2024 12:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants