Merged
Conversation
- Add revolut config to payable.php - Implement RevolutService with widget flow support - Update PaymentTestController with revolut test method
Add comprehensive documentation for implementing Revolut payments including backend controller, Vue component, Blade template, and JavaScript setup. The guide covers installation, configuration, and usage examples for both frontend and backend implementations.
- Improved exception handling in URequest class to return structured error responses for specific HTTP status codes (422, 400, 404). - Added additional logging for debugging purposes.
- Introduced ShouldEmbedForm interface to define methods for handling built-in form attributes, validating checkout payloads, and hydrating checkout payloads. - This interface aims to standardize the implementation of payment forms across different payment gateways.
- Added a static property to indicate if the service has a built-in form. - Introduced a method to check for built-in form support and contract implementation. - Enhanced the checkout method to validate and process payloads when a built-in form is available.
- Implemented a new checkout method in the Payable class to validate and process payment payloads. - The method merges the payload schema, removes exceptional entries, and creates a payment record before proceeding with the checkout process.
…and order management - Implemented ShouldEmbedForm interface in RevolutService to support built-in form attributes. - Added methods for validating and hydrating checkout payloads. - Refactored order creation and retrieval methods for better clarity and functionality. - Improved error handling in cancel and refund methods, ensuring proper response structure. - Updated createWidgetOrder method to streamline order processing and response generation.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Checklist
Types of changes
Description
Related Issue