fix: Make return_url and cancel_url optional in application_context for subscriptions#789
fix: Make return_url and cancel_url optional in application_context for subscriptions#789danqzq wants to merge 2 commits into
return_url and cancel_url optional in application_context for subscriptions#789Conversation
…of subscription (fixes paypal#716)
🦋 Changeset detectedLatest commit: c320218 The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
|
This pull request has been automatically marked as stale. If this pull request is still relevant, please leave any comment (for example, "bump"), and we'll keep it open. We are sorry that we haven't been able to prioritize reviewing it yet. Your contribution is very much appreciated. |
|
bump |
|
This pull request has been automatically marked as stale. If this pull request is still relevant, please leave any comment (for example, "bump"), and we'll keep it open. We are sorry that we haven't been able to prioritize reviewing it yet. Your contribution is very much appreciated. |
|
Closing this pull request after a prolonged period of inactivity. If this issue is still present in the latest release, please ask for this pull request to be reopened. |
Context
Fixes #716
See also: #238
A TypeScript error occurs when using the PayPal JS SDK Buttons integration for subscriptions without specifying
return_urlandcancel_urlinapplication_context, even though previous guidance states these fields are not required/recommended for the JS SDK flow.Error:
See #716 for minimal reproduction steps
Change
Updated the type definition for
application_contextto makereturn_urlandcancel_urloptional.