Flex Credits Landing
This guide explains how to integrate the Flex Credits payment system into the landing page.
Components
PayPalFlexButton
The PayPalFlexButton
component handles one-time purchases for Flex Credits packages. It's designed to work with PayPal's payment system and our backend services.
Available Packages
Integration Steps
Add PayPal Script Provider
Configure Success/Cancel URLs
Success URL:
https://app.conversionzign.com/billing?package_id={PACKAGE_ID}
Cancel URL:
https://app.conversionzign.com/cancelled
Add Flex Credits Section
Error Handling
The PayPalFlexButton
component includes built-in error handling and will display appropriate error messages. However, you can customize the error handling by providing an onError
callback:
Testing
Use PayPal's sandbox environment for testing:
Email:
sb-47mhd25379073@personal.example.com
Password:
testuser123
Test each package with both successful and failed payment scenarios
Verify that users are redirected correctly after payment
Support
If you encounter any issues during integration, please contact our development team at dev-support@youzign.com.
Last updated