Collect payments from end-users inside your apps. Payment Blocks use Stripe or LawPay, two of the leading payment processing companies in the world.
You can use Stripe and / or LawPay to collect payments inside of apps with Payment Blocks. In either case, setup is a two-step process:
Connect Stripe / LawPay to your Afterpattern under Account Settings > Integrations:
Payment Blocks are a type of Page Block, so simply click 'Add Block' and select 'Payment.' After you add a Payment Block, you can select whether you want to collect the payment via Stripe or LawPay.
Note: Stripe requires the amount charged to the end-user to be at least 50 cents. Smaller amounts will cause an error.
Testing Payment Blocks is slightly different between Stripe and LawPay:
Use a test credit card number.
If your app is in Test Mode, all Payment Block payments will be submitted to Stripe as test data. In your Stripe dashboard, you view test data by clicking on this toggle
When your App is in Test Mode, all payments will be submitted to LawPay as test data. Unfortunately, you will not see this test data in your LawPay account. However, you will know that the test has been successful if you're able to enter a Test Credit Card and advance beyond the Payment Block.
Test Credit Card numbers can be found here for each card type.
If you use Stripe, you can change the payment currency directly on the Payment Block. You can not change the currency if you use LawPay.
Go from idea to launch in weeks.View services