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.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

mglaman created an issue. See original summary.

mglaman’s picture

Status: Active » Needs work
FileSize
27.7 KB

Initial patch. Configuration works fine.

Need to address:

  1. Test a transaction
  2. Upgrade path
mglaman’s picture

Version: 8.x-1.x-dev » 7.x-1.x-dev
FileSize
30.18 KB

Adds the upgrade path, just need to test transactions.

mglaman’s picture

Status: Needs work » Needs review
FileSize
32.65 KB

This patch has fixed upgrade and checkout payment works.

Status: Needs review » Needs work

The last submitted patch, 4: move_square-2908012-4.patch, failed testing. View results

mglaman’s picture

Status: Needs work » Needs review
FileSize
33.9 KB

Fix linting, and update README.

Status: Needs review » Needs work

The last submitted patch, 6: move_square-2908012-6.patch, failed testing. View results

mglaman’s picture

Status: Needs work » Needs review
FileSize
34.25 KB

More linting fixes.

  • mglaman committed 29a21ca on 7.x-1.x
    Issue #2908012 by mglaman: Move Square configuration to own form,...
mglaman’s picture

Status: Needs review » Fixed

Configuration is now the same between Drupal 7 and Drupal 8 branch, simplifying documentation.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.