Download the PHP package hypejunction/payments_stripe without Composer
On this page you can find all versions of the php package hypejunction/payments_stripe. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download hypejunction/payments_stripe
More information about hypejunction/payments_stripe
Files in hypejunction/payments_stripe
Package payments_stripe
Short Description Stripe payments integration
License GPL-2.0
Homepage http://hypejunction.com
Informations about the package payments_stripe
Stripe Payments for Elgg
Features
- API for handling payments via Stripe
Acknowledgements
- Plugin has been sponsored by [Social Business World] (https://socialbusinessworld.org "Social Business World")
Notes
Example
See actions/payments/checkout/stripe.php for usage example.
Payment Status
You can use 'transaction:<status>', 'payments'
hooks to apply additional logic upon payment status changes.
Payments are synchronous and do not require a user to be forwarded to another location.
Web hook events
Make sure to setup the webhooks via your Stripe dashboard. Webhook URL is listed in plugin settings.
Charge-related hooks will be digested by the plugin automatically. Other web hook event data can be digested with 'digest:webhook', 'stripe'
plugin hook.
SSL
- Your site must be served over HTTPS for the API requests and webhooks to work as expected
Credentials
- Login at https://stripe.com and create an account
- Copy secret and publishable keys from Stripe Account settings > API keys to plugin settings
- Add webhook endpoints via Stripe Account settings > Webhooks > Add endpoint (the endpoint URL is listed in plugin settings)
Testing
- You make test payments using card numbers listed here: https://stripe.com/docs/testing#cards
- You can see test payments by toggling your Stripe dashboard to Test mode
Forms/Actions
To display card information input form, use:
All versions of payments_stripe with dependencies
composer/installers Version ~1.0
hypejunction/payments Version ~2.0
stripe/stripe-php Version ~4.1
hypejunction/countries Version *