Skip to content

Releases: spryker/payments-rest-api

1.4.0

28 Nov 12:41
Compare
Choose a tag to compare

Included commits: 1.3.0...1.4.0

Improvements

  • Introduced PaymentCustomersResourceRoutePlugin to provide the payment-customers resource for obtaining the customer related data from the PSP application.
  • Introduced RestPaymentCustomersRequestAttributes transfer.
  • Introduced RestPaymentCustomersResponseAttributes transfer.
  • Introduced PaymentCustomerRequest transfer.
  • Introduced PaymentCustomerResponse transfer.
  • Introduced Customer transfer.
  • Introduced Address transfer.
  • Introduced RestAddressAttributes transfer.
  • Introduced RestCustomerResponseAttributes transfer.
  • Introduced Payment.paymentProviderName transfer field.
  • Introduced Payment.paymentMethodName transfer field.
  • Introduced Payment.paymentProvider transfer field.
  • Introduced RestPaymentMethodsAttributes.paymentMethodAppConfiguration transfer field.
  • Introduced PaymentMethod.paymentMethodAppConfiguration transfer field.
  • Added PaymentApp module to dependencies.
  • Increase Payment module version dependency.

1.3.0

02 Oct 14:53
Compare
Choose a tag to compare

Included commits: 1.2.0...1.3.0

Improvements

  • Introduced \Spryker\Glue\PaymentsRestApi\Controller\PreOrderPaymentsResourceController.
  • Introduced \Spryker\Glue\PaymentsRestApi\Controller\PreOrderPaymentCancellationsResourceController.
  • Introduced \Spryker\Glue\PaymentsRestApi\Plugin\GlueApplication\PaymentsResourceRoutePlugin.
  • Introduced \Spryker\Glue\PaymentsRestApi\Plugin\GlueApplication\PaymentCancellationsResourceRoutePlugin
  • Introduced new transfer object:
    • RestPreOrderPaymentRequestAttributes
    • RestPreOrderPaymentCancellationRequestAttributes
    • PreOrderPaymentRequest
    • PreOrderPaymentResponse
    • RestErrorMessage

1.2.0

22 May 16:25
Compare
Choose a tag to compare

Included commits: 1.1.1...1.2.0

Improvements

  • Adjusted PaymentsRestApiFacade::mapPaymentsToQuote() to correctly assign paymentSelection field taking foreign payment methods naming strategy into account.
  • Increased the spryker/payment module version.
  • Added PaymentFacadeInterface::expandPaymentWithPaymentSelection() to the module dependencies.

1.1.1

06 Apr 13:34
Compare
Choose a tag to compare

Included commits: 1.1.0...1.1.1

Adjustments

  • Adjusted PaymentMethodsByCheckoutDataResourceRelationshipPlugin documentation generator comment to declare the type of resource it provides.

1.1.0

26 Mar 14:24
Compare
Choose a tag to compare

Included commits: 1.0.1...1.1.0

Improvements

  • Introduced Glue layer.
  • Added spryker/glue-application to dependencies.
  • Added spryker/glue-application-extension to dependencies.
  • Added spryker/checkout-rest-api-extension to dependencies.
  • Introduced PaymentMethodsByCheckoutDataResourceRelationshipPlugin that will add payment-methods resource as relationship in case RestCheckoutDataTransfer is provided as payload.
  • Introduced SelectedPaymentMethodCheckoutDataResponseMapperPlugin to map the selected payment method data to the checkout-data resource attributes.
  • Introduced RestPaymentMethodsAttributes transfer.
  • Introduced RestCheckout transfer.
  • Introduced PaymentMethod transfer.
  • Introduced PaymentProvider transfer.
  • Introduced PaymentMethods transfer.
  • Introduced RestCheckoutData transfer.
  • Introduced PaymentProviderCollection transfer.
  • Introduced RestCheckoutDataResponseAttributes transfer.
  • Introduced RestPaymentMethod transfer.

1.0.1

14 Oct 14:11
Compare
Choose a tag to compare

Included commits: 1.0.0...1.0.1

Bugfixes

  • Fixed transfer definitions to include missing uses of Transfers or Transfer properties.

1.0.0

05 Dec 16:46
Compare
Choose a tag to compare

Included commits: https://github.com/spryker/payments-rest-api/tree/1.0.0

Initial Release

  • Introduced PaymentsRestApiFacade::mapPaymentsToQuote() that maps rest request payment method to quote.
  • Introduced PaymentsQuoteMapperPlugin that maps payments data from checkout request to quote.