Hi Tuan:
Your compnent is very straight forward to set up. Minus the hickups I am having issues with, I really like it.
But there is an area that needs to be redesigned. That's the "Trial Version.
The logic should be this way:
Plan: Gold or any selection
Cost: 9.99
Duration: 30 days
Trial perid: [ ] Yes [ ] No
if yes, then box for entry highlights as follows:
Trial period: 2 days
Price: .29
Then towards the end, there should be automatic math made as follows;
Remaining day: 28 (done authomatically with the number of days for trial activated.
remaining balance: 9.99 -.29 = 9.70
Number of payment [ 1 ]
That means 9.70 will be billed after the two days trial period ends.
So paypal should read: .29 for the fist 2 days and $9.70 for the balance of the month of 28 days.
Alternatively: if number of payments are say [ 3 ] for highrer costs sy $99.99.
The anmount should be divided into equal payments billed accordingly, say evey io days or there are about.
Thanks for reading through my crap.