Improve documentation and add Redsys InSite payment method documentation #18
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.
Summary
This PR significantly improves the README documentation and adds comprehensive documentation for the Redsys InSite (EMV 3DS) payment method, which was previously undocumented despite being implemented in the codebase.
Changes
Documentation Structure
Configuration Section
Added a dedicated configuration section documenting both environments:
Enhanced Redirect Payment Documentation
description()- Product/order descriptionmerchantName()- Custom merchant namedata()- Internal reference datamerchantPaymethods()- Payment method filters (e.g., Bizum)urlSuccessful()/urlDenied()- Custom redirect URLsInSite Payment Documentation (New) 🎉
Added complete documentation for the EMV 3DS payment flow:
Step 1: Card Configuration
Step 2: Process Payment
Step 3: Capture Payment
Response Object Documentation (New)
Added a dedicated section explaining the Response object:
orderId,amount,authorizationCode,errorCode,responseCode,data,emv3dssuccessful(),required3DsChallenger(),secure(),toArray()Testing Section
Enhanced with commands for:
composer testcomposer analysecomposer styleImpact
Closes #[issue_number]
Warning
Firewall rules blocked me from connecting to one or more addresses (expand for details)
I tried to connect to the following addresses, but was blocked by firewall rules:
https://api.github.com/repos/php-http/discovery/zipball/82fe4c73ef3363caed49ff8dd1539ba06044910d/usr/bin/php8.3 -n -c /tmp/62OpOd /usr/bin/composer install(http block)https://api.github.com/repos/symfony/polyfill-php84/zipball/d8ced4d875142b6a7426000426b8abc631d6b191/usr/bin/php8.3 -n -c /tmp/62OpOd /usr/bin/composer install(http block)https://api.github.com/repos/symfony/service-contracts/zipball/f021b05a130d35510bd6b25fe9053c2a8a15d5d4/usr/bin/php8.3 -n -c /tmp/62OpOd /usr/bin/composer install(http block)If you need me to access, download, or install something from one of these locations, you can either:
Original prompt
✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.