Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement a dummy payment gateway #4

Closed
DanReyLop opened this issue Mar 6, 2019 · 1 comment
Closed

Implement a dummy payment gateway #4

DanReyLop opened this issue Mar 6, 2019 · 1 comment
Assignees

Comments

@DanReyLop
Copy link
Contributor

This gateway won't do any actual requests to the actual payment partner, but it will:

  • Register itself as a WooCommerce gateway.
  • Have a minimal Settings screen with some dummy fields.
  • Simulate (i.e always accept) payments in the checkout page.

Keep in mind that we'll need to keep the PHP file structure and class naming in accordance with WooCommerce Core code styles, since we want this to be a feature plugin.

@dechov
Copy link
Contributor

dechov commented Mar 6, 2019

Instead of or in addition to dummy fields, we should have "Enabled", "Title", and "Description" settings, which I believe are expected for payment gateway instances [doc], and are common controls for checkout appearance.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants