Simple Stripe Payment

Integrates Stripe checkout into WordPress.
Description

Integrates Stripe checkout into WordPress.

  • Paste Stripe checkout button to Single Post and Single Page by short code.
  • Paste Stripe checkout button to Single Post and Single Page by block.
  • Paste Stripe checkout button to Archive Page and Home Page by widget.
  • Complete payment without screen transition.
  • Can specify the text or html before payment and after payment.
  • Can remove html elements to after payment.
  • Prepared a filter hook for processing immediately after billing.

Tutorial Video

Sample of how to use the filter hook

  • Show button
echo do_shortcode('[simplestripepayment amount=100 currency="USD" name="Test" description="Test Charge" email="test@test.com" payname="testpay"]';
  • shortcode
    Attribute : Description
    amount : Price
    name : The name of your company or website
    description :A description of the product or service being purchased
    currency : Currency Codes
    label : The text to be shown on the blue button
    before : Display before payment
    after : Display after payment
    remove : HTML elements to remove after payment
    remove2 : HTML elements to remove after payment
    email : Email
    payname : Unique name for this payment
  • Filter hook & Function
// Filter hook
add_filter('simple_stripe_payment_charge', 'stripe_charge', 10, 7);
// Function
public function stripe_charge( $token, $email, $amount, $currency, $name, $description, $payname ) {
    if ( $payname === "testpay" ) {
        // Please write the process to be done when billing succeeds.
    }
}
  • Filter hook
    Variable : Description : From
    $token : Payment information by JSON : Value of Stripe
    $email : Email : Value of Simple Stripe Payment
    $amount : Price : Value of Simple Stripe Payment
    $currency : Currency Codes : Value of Simple Stripe Payment
    $name : The name of your company or website : Value of Simple Stripe Payment
    $description : A description of the product or service being purchased : Value of Simple Stripe Payment
    $payname : Unique name for this payment : Value of Simple Stripe Payment
Last Updated: 3 weeks ago
Requires: 3.6.0
Compatible up to: 5.1.1
Release: 2019-01-04
Download: Version1.09