Payments Module v1.0
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