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

v0.4.0 #5

Merged
merged 21 commits into from
Oct 30, 2021
Merged

v0.4.0 #5

merged 21 commits into from
Oct 30, 2021

Conversation

aozisik
Copy link
Collaborator

@aozisik aozisik commented Oct 25, 2021

  • PHP 8 Support
  • Implement POST /payments/cit
  • Implement POST /payments/charge
  • Implement POST /payments/oneoff
  • Implement completePurchase call
  • Refactor & tests
  • Error / exception handling while creating response?
  • Update readme

Breaking Changes:

  • CardToken class is replaced with TokenizedCard
  • TokenizedCard getBrand() now returns one of the values defined here: https://github.com/thephpleague/omnipay-common/blob/006a45b5bfc2f6461e35dedce51dc1aa120df260/src/Common/CreditCard.php#L98-L109
    • Everypay returns master_card, whereas this package will change it to mastercard.
  • 'backend' => true option is replaced with paymentType. Possible values are: PaymentType::ONE_OFF, PaymentType::CIT and PaymentType::MIT
  • accountId setting is replaced with accuontName. Similarly, EVERY_PAY_ACCOUNT_ID env variable is renamed to EVERY_PAY_ACCOUNT_NAME
  • setCallbackUrl is removed. You need to set this value manually from EveryPay control panel.
  • setCustomerUrl is removed. You can use Omnipay's setReturnUrl method instead.

@aozisik aozisik changed the title V0.4.0 v0.4.0 Oct 25, 2021
@aozisik aozisik marked this pull request as ready for review October 30, 2021 15:57
@aozisik aozisik merged commit 7b9a9d9 into master Oct 30, 2021
@aozisik aozisik deleted the v0.4.0 branch October 30, 2021 15:59
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.

1 participant