Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Excerpt
hiddentrue

Stripe Payment is a popular payment gateway in North America, and Europe. Stripe is built for developers and offers flat fee processing. This integration supports 3DS and SCA.


Table of Contents
Table of Contents
maxLevel6
minLevel2
outlinetrue
classtoc

...

Stripe is a global payment gateway built for developers. This implementation supports 3DS (3D Secure) and SCA (Secure Customer Authentication). Learn more about Stripe on their website at https://stripe.com/

...

Local Storage

Token Storage

Process

Refund

Void

Status
colourRed
titleNo

Status
colourGreen
titleYes

Status
colourGreen
titleYes
Status
colourGreen
titleYes
Status
colourGreen
titleYes

ACH Processing Features

Local StorageToken StorageProcessRefundVoid

Status
colourRed
titleNO

Status
colourGreen
titleYES

Status
colourGreen
titleYes
Status
colourGreen
titleYes

Status
colourRed
titleNo

Stripe will make 2 deposits to the checking or savings account which must be confirmed within the payment account before it can be used for payment.

Installing Stripe Payments

...

  • The Credit Card field does not appear when attempting to make a payment.
    • Make sure you are accessing your Blesta installation over HTTPS and you have a valid SSL certificate.
    • Make sure your server/browser can negotiate TLS 1.2
  • Credit Card emails (e.g.  Payment Approved (Credit Card)) may have missing content when payment is made without saving the details as a payment method.  To help with this, replace "{card_type}" with "{card_type | set_default "credit card"}"and replace ", ending in {last_four}" with "{% if last_four %}, ending in {last_four}{% endif %}"
  • I'm running Blesta version 5.8.2 or older and transactions are not recorded in Blesta or the transaction number is missing
    • Make sure you created a webhook
    • Update /components/gateways/merchant/stripe_payments/stripe_payments.php and replace the loadApi() method with the following:

      Code Block
      languagephp
          /**
           * Loads the API if not already loaded
           */
          private function loadApi()
          {
              Loader::load(dirname(__FILE__) . DS . 'vendor' . DS . 'stripe' . DS . 'stripe-php' . DS . 'init.php');
              Stripe\Stripe::setApiKey((isset($this->meta['secret_key']) ? $this->meta['secret_key'] : null));
       
              // Include identifying information about this being a gateway for Blesta
              Stripe\Stripe::setAppInfo('Blesta ' . $this->getName(), $this->getVersion(), 'https://blesta.com');
       
              // Set API version
              Stripe\Stripe::setApiVersion('2022-08-01');
          }