-
Notifications
You must be signed in to change notification settings - Fork 17
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
Please remove refOrderId #47
Comments
Sounds like the refOrderId is being used despite it not being explicitly listed in API description :) So it's now more of a hidden functionality than the lack of it. Given you removed it in the middle of v2 API lifecycle you should only be able to deprecate certain properties/endpoints, not remove them (as you did with https://vippsas.github.io/vipps-developer-docs/api/ecom/#tag/Vipps-eCom-API/operation/getOrderStatusUsingGET. Otherwise, it will be a backward incompatible change. In that sense the change in question is backward incompatible change. That being said, luckily I can remove the support for setting refOrderId in a way that won't destroy code compatibility. But for people relying on the old functionality, it will be a breaking change. The way I should make this change in a way that won't destroy people's applications is to mark the property as deprecated and remove it in the next major release of this library. So the question is - do we want to remove support for this hidden functionality all together or do we want to mark it as deprecated so people have time to transition. |
Yes, it's hidden functionality. We are not sure if anyone still relies on it, so we have not disabled it complete.y. But it was removed from the API documentation a long time ago, I think 3+ years, but I'm not sure. The API Lifecycle was written after the If you can remove the use of If someone needs "direct capture", the FAQ has details on how to enable it, and when it is needed (which is probably never). https://vippsas.github.io/vipps-developer-docs/docs/APIs/ecom-api/vipps-ecom-api-faq#when-should-i-use-direct-capture |
Maybe @tht13, as architect, has some input here? |
The
refOrderId
is no longer used. If it is sent, the payment will go directly toSALE
without theRESERVED
state, since therefOrderId
indicates that it is a follow-up payment of anotherorderId
.The
refOrderId
was removed from the official API documentation a long time ago.Please see: https://vippsas.github.io/vipps-developer-docs/api/ecom#tag/Vipps-eCom-API/operation/initiatePaymentV3UsingPOST
Here are the occurrences of
refOrderId
int she repo: https://github.com/zaporylie/php-vipps/search?q=reforderidThe text was updated successfully, but these errors were encountered: