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

Deprecate payment.getPaymentUrl #240

Merged
merged 2 commits into from
Nov 17, 2021
Merged

Deprecate payment.getPaymentUrl #240

merged 2 commits into from
Nov 17, 2021

Conversation

Pimm
Copy link
Collaborator

@Pimm Pimm commented Nov 17, 2021

Deprecated payment.getPaymentUrl().

A breaking change, but:

  • As this is synonymous with payment.getCheckoutUrl(), it is a potential cause for confusion.
  • Since the PHP client only has getCheckoutUrl, this removal make this library more consistent with the PHP client.

It is synonymous with payment.getCheckoutUrl, and the PHP client doesn't have it.
Copy link
Collaborator

@dsempel dsempel left a comment

Choose a reason for hiding this comment

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

Makes sense.

src/data/payments/PaymentHelper.ts Outdated Show resolved Hide resolved
Co-authored-by: Demian Sempel <dsempel@gmail.com>
@Pimm Pimm merged commit 0693642 into master Nov 17, 2021
@Pimm Pimm deleted the pimm/v3.6.0 branch November 17, 2021 12:11
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.

2 participants