You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
Yes, with version changes there are defaults in the plugin that change which require code changes in our application.
Describe the solution you'd like
Because the default PWA return path is subject to change with different versions of the plugin it would be nice to be able to set the PWA return url as a path instead of a full URL
a simple solution would be to change the getStoreReurnUrl method in the ReturnUrlHelper class to :
Thank you so much for the contribution. It is very much appreciated. I understand your concern about making the PWA return URL configuration more flexible.
However, after considering the various use cases, I believe the current approach is necessary to support different platforms effectively. Specifically, we need the ability to handle different types of return URLs for various scenarios: Web/iOS/Android
By maintaining the ability to configure a full URL, we ensure compatibility across all platforms, including web, iOS, and Android. If we switch to only using a path, we would lose the flexibility required for non-web cases (such as mobile apps) and could potentially create integration issues.
If you're looking for a way to make this process more dynamic, we are open for more ideas on how the return URL should be handled based on the platform.
I hope this explanation clarifies the reasoning behind the current approach.
Making your own contribution is easy, encouraged and greatly appreciated! We will put effort into reviewing and merging your PR quickly. For more info, please refer to the contribution guidelines: https://github.com/Adyen/adyen-magento2/blob/develop/CONTRIBUTING.md
Is your feature request related to a problem? Please describe.
Yes, with version changes there are defaults in the plugin that change which require code changes in our application.
Describe the solution you'd like
Because the default PWA return path is subject to change with different versions of the plugin it would be nice to be able to set the PWA return url as a path instead of a full URL
a simple solution would be to change the getStoreReurnUrl method in the ReturnUrlHelper class to :
So that it allows the PWA return URL to be a path
The text was updated successfully, but these errors were encountered: