PHPackages                             hypejunction/hypestripepayments - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Payment Processing](/categories/payments)
4. /
5. hypejunction/hypestripepayments

AbandonedArchivedElgg-plugin[Payment Processing](/categories/payments)

hypejunction/hypestripepayments
===============================

Stripe client for Elgg

1.3.1(7y ago)158↓100%proprietaryPHPPHP &gt;=7.0

Since Mar 19Pushed 7y ago1 watchersCompare

[ Source](https://github.com/hypeJunction/Elgg3-hypeStripePayments)[ Packagist](https://packagist.org/packages/hypejunction/hypestripepayments)[ Docs](http://hypejunction.com)[ RSS](/packages/hypejunction-hypestripepayments/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (7)Dependencies (2)Versions (10)Used By (0)

hypeStripePayments
==================

[](#hypestripepayments)

A wrapper for Stripe's PHP SDK

Webhooks
--------

[](#webhooks)

Configure your Stripe application to send webhooks to `https:///payments/stripe/webhooks`

To digest a webhook, register a plugin hook handler:

```
elgg_register_plugin_hook_handler('customer.subscription.deleted', 'stripe', HandleExpiredSubscription::class);

class HandleExpiredSubscription {
	public function __invoke(\Elgg\Hook $hook) {
		$stripe_event = $hook->getParam('event');
		/* @var $stripe_event \Stripe\Event */

		$subscription = $stripe_event->data->object;

		// ... do stuff

		return $result; // Result will be reported back to stripe
	}
}
```

Card Input
----------

[](#card-input)

To display a card input:

```
// Card number, expiry and CVC
echo elgg_view_field([
	'#type' => 'stripe/card',
	'#label' => 'Credit or Debit Card',
	'required' => true,
]);

// Cardholder name
echo elgg_view_field([
	'#type' => 'stripe/cardholder',
	'#label' => 'Cardholder',
	'required' => true,
]);

// Billing address
// Requires hypeCountries plugin
echo elgg_view_field([
	'#type' => 'stripe/address',
	'#label' => 'Billing address',
	'required' => true,
]);
```

You can then retrieve the value of the Stripe token in your action:

```
$payment_method = get_input('payment_method');
list($gateway, $source_id) = explode('::', $payment_method);

if ($gateway == 'stripe' && $source_id) {
    // Use $source_id to create a charge

} else {
   $token = get_input('stripe_token');
   $address = get_input('address');
   $name = get_input('cardholder');

   // Use stripe API to create a new card object
   // or use the token as the source of the payment
}
```

###  Health Score

29

—

LowBetter than 60% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity12

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity64

Established project with proven stability

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~29 days

Total

9

Last Release

2735d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/5071b1cd852e094b3f564962a625e04c227adc73af30c5b46b243ab8f20154a7?d=identicon)[hypeJunction](/maintainers/hypeJunction)

---

Top Contributors

[![hypeJunction](https://avatars.githubusercontent.com/u/1202761?v=4)](https://github.com/hypeJunction "hypeJunction (18 commits)")

---

Tags

pluginstripeelggpayments

### Embed Badge

![Health badge](/badges/hypejunction-hypestripepayments/health.svg)

```
[![Health](https://phpackages.com/badges/hypejunction-hypestripepayments/health.svg)](https://phpackages.com/packages/hypejunction-hypestripepayments)
```

###  Alternatives

[chronon/stripe

A CakePHP 2.x Stripe Payment Processing Component.

4246.6k](/packages/chronon-stripe)[enupal/stripe

Allows customers sign up for recurring and one-time payments with Stripe, perfect for orders, donations, subscriptions, and events. Create simple payment forms in seconds easily without coding. For Craft CMS 3.x

3416.5k1](/packages/enupal-stripe)[tomatophp/filament-payments

Manage your payments inside FilamentPHP app with multi payment gateway integration

542.3k](/packages/tomatophp-filament-payments)[tatter/stripe

Stripe SDK integration for CodeIgniter 4

115.3k](/packages/tatter-stripe)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
