Automattic / dops-components

Shared Calypso-style components for non-Calypso projects.
GNU General Public License v2.0
9 stars 6 forks source link

Update Paygate Loader to accept config settings #115

Closed eoigal closed 7 years ago

eoigal commented 7 years ago

The paygate library allows you to specify what processor the service would like to use. This update allows us to pass in config settings to the Paygate loader; these settings will be used to configure paygate when the library is loaded.

To test, you will need to use this branch with the akismet-react app. If you have sym linked the dops-components locally, then you just need to make sure you are on this branch. If not, then you need to update the package.json on akismet-react to point to this branch (rather than to the branch/akismet branch for dops-components dependency.

I'll add the PR to use on akismet-react to test below this...