Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
We should follow the change made in #2888665: Square configuration form broken with latest Commerce changed for Drupal 8 version. This moves the Square app configuration, and OAuth flow, to its own form. The payment methods can have a configuration for which location they're for.
One configuration, but multiple methods allowing each location.
Comment | File | Size | Author |
---|---|---|---|
#8 | move_square-2908012-8.patch | 34.25 KB | mglaman |
#6 | move_square-2908012-6.patch | 33.9 KB | mglaman |
#4 | move_square-2908012-4.patch | 32.65 KB | mglaman |
#3 | move_square-2908012-3.patch | 30.18 KB | mglaman |
#2 | move_square-2908012-2.patch | 27.7 KB | mglaman |
Comments
Comment #2
mglamanInitial patch. Configuration works fine.
Need to address:
Comment #3
mglamanAdds the upgrade path, just need to test transactions.
Comment #4
mglamanThis patch has fixed upgrade and checkout payment works.
Comment #6
mglamanFix linting, and update README.
Comment #8
mglamanMore linting fixes.
Comment #10
mglamanConfiguration is now the same between Drupal 7 and Drupal 8 branch, simplifying documentation.