Skip to content

Instantly share code, notes, and snippets.

View gedex's full-sized avatar
🏠
Working from home

Akeda Bagus gedex

🏠
Working from home
View GitHub Profile

Activate the WooCommerce Stripe Gateway

start_path: /wp-admin/plugins.php?plugin_status=search&s=stripe
tags: fresh-install

Click Activate under WooCommerce Stripe Gateway plugin.

I see Plugin activated notice and following links displayed under WooCommerce Stripe Gateway:

Activate the WooCommerce Stripe Gateway

start_path: /wp-admin/plugins.php?plugin_status=search&s=stripe

I click Activate under WooCommerce Stripe Gateway plugin.

I see Plugin activated. notice and following links displayed under WooCommerce Stripe Gateway:

Activate the WooCommerce Stripe Gateway

url_path: /wp-admin/plugins.php?plugin_status=search&s=stripe

I click Activate under WooCommerce Stripe Gateway plugin.

I see Plugin activated. notice and following links displayed under WooCommerce Stripe Gateway:

  • Settings
  • Docs
url_path
/wp-admin/plugins.php?plugin_status=search&s=stripe

Activate the WooCommerce Stripe Gateway


url_path: /wp-admin/plugins.php?plugin_status=search&s=stripe

Activate the WooCommerce Stripe Gateway


url_path: /wp-admin/plugins.php?plugin_status=search&s=stripe

I click Activate under WooCommerce Stripe Gateway plugin.

I see Plugin activated. notice and following links displayed under WooCommerce Stripe Gateway:

HTTP/1.1 200 OK
Server: nginx
Date: Mon, 24 Jul 2017 11:07:07 GMT
Content-Type: application/json; charset=UTF-8
Transfer-Encoding: chunked
Connection: keep-alive
X-Robots-Tag: noindex
Link: <https://local.wordpress.dev/wp-json/>; rel="https://api.w.org/"
X-Content-Type-Options: nosniff
Access-Control-Expose-Headers: X-WP-Total, X-WP-TotalPages
{
"id": "stripe",
"title": "Stripe",
"description": "Pay with your credit card via Stripe. TEST MODE ENABLED. In test mode, you can use the card number 4242424242424242 with any CVC and a valid expiration date or check the documentation \"<a href=\"https://stripe.com/docs/testing\">Testing Stripe</a>\" for more card numbers.",
"order": 4,
"enabled": true,
"method_title": "Stripe",
"method_description": "Stripe works by adding credit card fields on the checkout and then sending the details to Stripe for verification. <a href=\"https://dashboard.stripe.com/register\" target=\"_blank\">Sign up</a> for a Stripe account, and <a href=\"https://dashboard.stripe.com/account/apikeys\" target=\"_blank\">get your Stripe account keys</a>.",
"settings": {
"title": {
<?php
/**
* Base class for WooCommerce REST controller.
*
* @since 4.0.0
* @package WC_Stripe/API
*/
/**
* WooCommerce Stripe REST Controller.
This file has been truncated, but you can view the full file.
FILE: ...gins/woocommerce-shipping-multiple-addresses/class.ms_compat.php
----------------------------------------------------------------------
FOUND 400 ERRORS AFFECTING 349 LINES
----------------------------------------------------------------------
1 | ERROR | [ ] Filenames should be all lowercase with hyphens as
| | word separators. Expected class.ms-compat.php, but
| | found class.ms_compat.php.
22 | ERROR | [ ] Missing @package tag in file comment
24 | ERROR | [x] Inline control structures are not allowed
package main
import (
"flag"
"fmt"
"strconv"
"strings"
)
var service = flag.String("service", "globalvalue", "service name")