Take My Money: Accepting Payments on the Web

Noel Rappin

買這商品的人也買了...

商品描述

Getting paid using Stripe or PayPal is only the beginning of creating a fully-functional e-commerce application. You also need to handle failure cases, inventory management, administration, security, reporting, and be compliant with legal issues. Manage one-time transactions and recurring subscriptions, handle inventory management, issue discounts and refunds, mitigate administration and compliance issues, and test your code to ensure your customers have a smooth, hassle-free experience.

An e-commerce payment application is literally rewarding to build--you can see the return on investment as genuine money is added to your account. But it can be stressful to manage, with security and compliance concerns and administration issues. And your entire business may depend on these features working smoothly.

Let Noel Rappin guide you through the setup and complications of dealing with online financial transactions.

Go beyond just the interaction with the gateway service and build an application that will be robust and useful over time. Set up a Stripe and PayPal payment gateway and accept credit card payments. Use the Stripe API to improve security by validating credit card data without sending it through your own server. Design your application for maximum flexibility against the inevitable complexities of business logic, including handling discounts. Manage the multiple failure points of dealing with payment gateways and test for failure cases. Use background jobs to simplify third-party interactions. Handle administrative tasks such as issuing refunds and discounts while maintaining data integrity and security. Create subscription plans and manage recurring payments, and stay on top of legal issues regarding taxes, reporting, and compliance. Pay affiliates or contributors from your application.

By the end, you will know how to create a fully-functional web payment-taking machine.

What You Need:

The code in this book works with Ruby 2.3.1 and Rails 5, though nearly all of the code will run with earlier versions of Ruby and Rails.

商品描述(中文翻譯)

使用Stripe或PayPal進行付款只是建立一個完全功能的電子商務應用程式的開始。您還需要處理失敗情況、庫存管理、管理、安全性、報告和遵守法律問題。管理一次性交易和定期訂閱,處理庫存管理,發放折扣和退款,減輕管理和合規問題,並測試您的代碼以確保您的客戶獲得順暢無憂的體驗。

建立電子商務支付應用程式實際上是有回報的-您可以看到真實的金錢被添加到您的帳戶中。但是管理起來可能會有壓力,涉及安全性和合規問題以及管理問題。而且您的整個業務可能取決於這些功能的順利運作。

讓Noel Rappin指導您設置和處理在線金融交易的複雜性。

超越與支付網關服務的互動,建立一個能夠長期堅固且有用的應用程式。設置Stripe和PayPal支付網關並接受信用卡付款。使用Stripe API通過驗證信用卡數據而無需將其通過您自己的服務器發送來提高安全性。設計您的應用程式以最大程度地適應不可避免的業務邏輯複雜性,包括處理折扣。處理與支付網關交易的多個失敗點並測試失敗情況。使用後台作業簡化與第三方的互動。處理發放退款和折扣等管理任務,同時保持數據完整性和安全性。創建訂閱計劃並管理定期付款,並瞭解有關稅收、報告和合規性的法律問題。從應用程式中支付聯盟營銷人員或貢獻者。

最終,您將知道如何創建一個完全功能的網絡支付接收機。

您需要什麼:

本書中的代碼適用於Ruby 2.3.1和Rails 5,但幾乎所有代碼都可以在較早版本的Ruby和Rails上運行。