Payments Module v1.0

Ryan Thompson Releases


The Payments module is a drop-in payment integration system that let's you instantly process payments, issue refunds, securely store credit cards, and bill stored credit cards by token.

Drop-In Integration

Download, configure, and go. Setup payments and other gateway integration in no time.

(new PaymentModel(
    [
        'amount' => 25.00,
        'currency' => 'USD',
        'first_name' => 'Ryan',
        'last_name' => 'Thompson',
        'number' => '4242424242424242',
        'type' => 'visa',
        'security_code' => '123',
        'expiration_month' => '12',
        'expiration_year' => '2020',
        'gateway' => 'stripe',
    ]
))->purchase();
Creating Cards
(new CardModel(
    [
        'first_name' => 'Ryan',
        'last_name' => 'Thompson',
        'number' => '4242424242424242',
        'type' => 'visa',
        'security_code' => '123',
        'expiration_month' => '12',
        'expiration_year' => '2020',
        'gateway' => 'stripe',
    ]
))->send();
Charge a Card
(new PaymentModel(
    [
        'amount'   => 25.00,
        'currency' => 'USD',
        'card'     => $card,
        'gateway'  => 'stripe', // Must match card's gateway.
    ]
))->purchase();

Powered By Omnipay

The underlying API is powered by Omnipay and extensible via Streams Extensions making it both fast to implement and easy to customize and integrate deeper.

Future Integration

The Payments module is the payment utility in upcoming addons including a Subscriptions module and the store suite.

Start Processing

To get started check out the documentation: https://pyrocms.com/documentation/payments-module

PRO developers can find our private repository here: https://github.com/anomalylabs/payments-module

- Ryan




oimken - 7 months ago - Report this comment

Could not install。

Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - Conclusion: don't install anomaly/payments-module v1.0.1
    - Conclusion: remove symfony/event-dispatcher v3.4.9
    - Installation request for anomaly/payments-module ^1.0 -> satisfiable by anomaly/payments-module[v1.0.0, v1.0.1].
    - Conclusion: don't install symfony/event-dispatcher v3.4.9
    - anomaly/payments-module v1.0.0 requires symfony/event-dispatcher ^2.8 -> satisfiable by symfony/event-dispatcher[v2.8.0, v2.8.1, v2.8.10, v2.8.11, v2.8.12, v2.8.13, v2.8.14, v2.8.15, v2.8.16, v2.8.17, v2.8.18, v2.8.19, v2.8.2, v2.8.20, v2.8.21, v2.8.22, v2.8.23, v2.8.24, v2.8.25, v2.8.26, v2.8.27, v2.8.28, v2.8.29, v2.8.3, v2.8.30, v2.8.31, v2.8.32, v2.8.33, v2.8.34, v2.8.35, v2.8.36, v2.8.37, v2.8.38, v2.8.39, v2.8.4, v2.8.5, v2.8.6, v2.8.7, v2.8.8, v2.8.9].
    - Can only install one of: symfony/event-dispatcher[v2.8.0, v3.4.9].
ryanthompson - 7 months ago - Report this comment

I'll check it out later today. The event dispatcher bug has probably been resolved by now but I will need to take a look and adjust constraints.


Please login to leave a comment.