Releases: Pod-Point/payments-php
Releases · Pod-Point/payments-php
Throw new `Canceled` exception when trying to capture a payment intent that is already cancelled
Throw new `Canceled` exception when trying to capture a payment intent that is already cancelled
Latest
What's Changed
- feat(PAR-427): Throw new
Canceledexception when trying to capture a payment intent that is already cancelled by @rickschubert in #14
New Contributors
- @rickschubert made their first contribution in #14
Full Changelog: v1.0.4...v2.0.0
Cancel hold
Feature/swp 2866 (#12) * WIP. * adding tests. * fixing bad merge. * fixing lint using cancellation reason in data provider to test them all. * removing extra line. * removing the constant for the cancel reason (cause we are always gonna use abandonned) - fixing order of imports.
Capture reserved funds
task/SWP-2604 (#11) * handle different token types + tests coverage * add typings to AmountTooLarge exception * addressed CR comment * remove codecove step
Reserve Funds
Added new reserve method to base payment service in order to reserve funds
Fix adding payment cards using payment sources method
This release allows payment sources to be fetched correctly.
This allows multiple payment cards to be attached to one customer as new payment sources can be attached to the correctly returned sources object.
v1.0.0: SWP-900 - fix refund issue (#7)
* -returning the refund object instead of the payment intent in the case of a refund of a payment intent. * shortening the create method from Refund