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

Native Payment support #541

Merged
merged 96 commits into from
Nov 27, 2024
Merged

Native Payment support #541

merged 96 commits into from
Nov 27, 2024

Conversation

alleus
Copy link
Collaborator

@alleus alleus commented Nov 27, 2024

We're adding support for native payments in the SDK

- API client for GET,POST
- Payment session handler for knowing which request to send
- Models for native payment sessions
- Implement ability to get a uri for swish launch
- Add callback to know when coming back from swish
- Implement models that should be exposed to merchant app
- Add integration request data
- Implement polling when we don't find what we want
- Fix crash for prefill models
- Create models that is exposed to the merchant
- Renaming of classes and methods to mimic iOS
- Add in memory list of used swish urls to not send an already used url to merchants
- Add clarification to different methods
- Implement method for aborting payments
- Keep on going even if we find a problem that have been used
- Implement new default state for nativePaymentState
- More documentation
- Refactor code to be more stable
- Use right url for get payments when callback is triggered
- Add culture to payment attempt operation
andreasvettefors and others added 24 commits October 10, 2024 13:20
- Fix for BASE64 encoding adding line breaks
- Implement more stable error handling when getting expect values
- Add WebBased instrument to payment attempt
. Add ability to reset customize payment
- Add new api call to FAIL_PAYMENT_ATTEMPT
@CLAassistant
Copy link

CLAassistant commented Nov 27, 2024

CLA assistant check
All committers have signed the CLA.

@alleus alleus self-assigned this Nov 27, 2024
Copy link
Member

@arebra arebra left a comment

Choose a reason for hiding this comment

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

Looks good to me!

@alleus alleus merged commit c546885 into main Nov 27, 2024
3 of 5 checks passed
@alleus alleus deleted the feature/native-payments branch November 27, 2024 14:45
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.

4 participants