Log In
Or create an account ->
Imperial Library
Home
About
News
Upload
Forum
Help
Login/SignUp
Index
Take My Money
About the Pragmatic Bookshelf
Table of Contents
Early praise for Take My Money: Accepting Payments on the Web
Acknowledgments
Preface
About This Book
About You
About the Project
A Note About the Code
Chapter 1: Not Taking Payments on the Web (Yet)
Understanding the Data Model
Building the Shopping Cart Feature
Unit Testing Our Logic
Next Up
Chapter 2: Take the Money
What’s a Payment Gateway and Why Do I Need One ?
Setting Up Our First Payment Gateway
Charging Cards with Server Authentication
Testing with the VCR Gem
Next Up
Chapter 3: Client-Side Payment Authentication
Setting Up Client-Side Stripe
Using the Token on the Server
Testing the JavaScript via Capybara
Next Up
Chapter 4: PayPal
Setting Up a PayPal Account
Accepting PayPal Transactions
Handling the PayPal Callback
Developing PayPal Charges
Next Up
Chapter 5: Failure Is Totally an Option
Client-Side Validation
Server-Side Failure
Testing for Failure
Running a Background Job
Notification
Next Up
Chapter 6: Subscriptions
Creating Subscription Plans
Creating Subscription Customers
Purchasing a Subscription
Setting Up Webhooks
Supporting the Stripe Subscription Life Cycle
Next Up
Chapter 7: The Administration Experience
Using Stripe’s Administration Dashboard
Setting Up Your Own Administrative Dashboard
Setting Up a Point of Purchase
Next Up
Chapter 8: Administration Roles
Authentication and Roles
Issuing Refunds
Applying Discounts
Next Up
Chapter 9: Administration and Data Security
Breaking the Rules
Keeping Data Secure
Two-Factor Authorization
Simulating Users
Blocking Email
Next Up
Chapter 10: Reporting
Using ActiveAdmin Reporting
Rolling Your Own Data
Speeding Up Performance and Data Preparation
Next Up
Chapter 11: Adding Fees and Calculating Taxes
Adding Nontax Fees
Calculating Taxes
Next Up
Chapter 12: Third-Party Sales with Stripe Connect
Creating Affiliate Accounts
Transferring Payments to Affiliate Accounts
Validating Affiliates
Next Up
Chapter 13: Going to Production
Going Live
Setting Up SSL/TLS Encryption
Running Automated Security Audits
Database Backups
Running Periodic Tasks
Compliance
The End
Bibliography
← Prev
Back
Next →
← Prev
Back
Next →