Our site currently links out to checkout pages hosted at a 3rd party (Chargebee).
We want to keep buyers on our site when checking out.
As we don't want to handle credit card information. the best option, from what we can see, is this solution: [login to view URL]
Create the checkout page in PHP, based on [login to view URL]
The checkout page needs to include the same fields as on our current hosted checkout page: [login to view URL]
Use basic styling; we can restyle afterwards.
Allow payment via CC and PayPal, as per current checkout page: [login to view URL]
Use jquery to ensure mandatory fields have a value; refer mandatory fields on current checkout page: [login to view URL]
Implement using "Option 2: Embed hosted page as popup".
We offer three different plans. Therefore, from our existing plan selection page the planid would be passed to the checkout page
We offer the ability to have addons. Therefore, from our existing plan selection page the addonid would be passed to the checkout page and the checkout page would need to take that addon into account with the order
We will often pass a coupon to the checkout page; the checkout page needs to take that into consideration.
Upon a successful purchase, redirect the user to our existing thank you page with the planid, price, email, and subscriptionid on the query string. This URL may be available for the plan via the API (as the url is setup against the plan in Chargebee)
Most of the requirements are most likely standard and able to be taken into account with Chargebee's API. As, they are already in place using the hosted checkout page that we currently use.
We can provide a URL, hosting account, and FTP account if need be. We can also provide a trial Chargebee account to work with.
On completion we will require all relevant files and a simple guide to follow to setup the system.