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

Requesting support for instructionUUID in PaymentRequest v2 #16

Open
kunambi opened this issue Nov 28, 2024 · 0 comments
Open

Requesting support for instructionUUID in PaymentRequest v2 #16

kunambi opened this issue Nov 28, 2024 · 0 comments

Comments

@kunambi
Copy link

kunambi commented Nov 28, 2024

Recently started working with this app and it seems very strong while also making the workflow very easy 👍🏾

However, reading through the code it seems that you're currently using PaymentRequest v1 instead of v2.

It shouldn't be too hard to switch between v1 and v2—one could check the existence for a instructionUUID-kwarg when initializing swish.SwishClient.

The major differences between v1 and v2 are explained on page 18 in
MSS_UserGuide_2_0.pdf (you can find it at https://developer.swish.nu/documentation/environments#certificates, download the ZIP-files with the certificates)

One of the differences between v1 and v2 seems to be what the API returns, both to the calling SwishClient, but also the POST to the callbackURL (according to their docs).

TYIA

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

No branches or pull requests

1 participant