Building and Testing a subscription application in the Sandbox with a one day free trial using the CreateRecurringPaymentsProfile API, the FINALPAYMENTDUE or NEXTPAYMENTDATE time is always set for the next 10:00:00Z datetime, not the time when the subscription was established. This means if I set a one day free trial, my customer is usually charged before their free subscription actually ends.
For example in the sample below the one month subscription with a one day free trial was created at 2010-03-25T03:50:32Z, however the free trial on PayPal's side was terminated at 2010-03-25T10:01:51Z, then it was submitted for payment at 2010-03-25T10:01:51Z resulting in a 6 hour free trial.
If this is what I can expect in the live system some compensating adjustments in my code and settings will be needed, or is this a bug in the manner Paypal calculates the time periods?
Thank you in advance for any answers.
GetShippingDetails:
Array ( [TOKEN] => EC-68N532770Y511245C [BILLINGAGREEMENTACCEPTEDSTATUS] => 1 [TIMESTAMP] => 2010-03-25T13:13:09Z [CORRELATIONID] => 531969a0b806f [ACK] => Success [VERSION] => 57.0 [BUILD] => 1242972 [EMAIL] =>
arnb_1269488938_per@arnb.org [PAYERID] => N8JKKXCXCHXRA [PAYERSTATUS] => verified [FIRSTNAME] => Test [LASTNAME] => User [COUNTRYCODE] => US [SHIPTONAME] => Test User [SHIPTOSTREET] => 1 Main St [SHIPTOCITY] => San Jose [SHIPTOSTATE] => CA [SHIPTOZIP] => 95131 [SHIPTOCOUNTRYCODE] => US [SHIPTOCOUNTRYNAME] => United States [ADDRESSSTATUS] => Confirmed [CURRENCYCODE] => USD [AMT] => 0.00 [SHIPPINGAMT] => 0.00 [HANDLINGAMT] => 0.00 [TAXAMT] => 0.00 [INSURANCEAMT] => 0.00 [SHIPDISCAMT] => 0.00 [INSURANCEOPTIONOFFERED] => false [INSURANCEOPTIONSELECTED] => false [SHIPPINGOPTIONISDEFAULT] => false )
TransactionSearch:
Array ( [L_TIMESTAMP0] => 2010-03-25T10:01:51Z [L_TIMESTAMP1] => 2010-03-25T10:01:51Z
[L_TIMESTAMP2] => 2010-03-25T03:50:32Z [L_TIMEZONE0] => GMT [L_TIMEZONE1] => GMT [L_TIMEZONE2] => GMT [L_TYPE0] => Recurring Payment [L_TYPE1] => Recurring Payment [L_TYPE2] => Recurring Payment [L_EMAIL0] =>
arnb_1269488938_per@arnb.org [L_NAME0] => Test User [L_NAME1] => Test User [L_NAME2] => Test User [L_TRANSACTIONID0] => 64575275XK255762L [L_TRANSACTIONID1] => I-9WMGY9XTHL4M [L_TRANSACTIONID2] => I-9WMGY9XTHL4M [L_STATUS0] => Completed [L_STATUS1] => Expired
[L_STATUS2] => Created [L_AMT0] => 3.95 [L_CURRENCYCODE0] => USD [L_FEEAMT0] => -0.41 [L_NETAMT0] => 3.54 [TIMESTAMP] => 2010-03-25T13:13:10Z [CORRELATIONID] => 90d6ed8c6a977 [ACK] => Success [VERSION] => 57.0 [BUILD] => 1236498 )
RecurringDetails: (Create)
Array ( [PROFILEID] => I-9WMGY9XTHL4M [STATUS] => Expired [AUTOBILLOUTAMT] => NoAutoBill [DESC] => One Month (30 Day) subscription with 1 day free trial, one time payment of 3.95 USD [MAXFAILEDPAYMENTS] => 0 [SUBSCRIBERNAME] => Test User [PROFILESTARTDATE] => 2010-03-24T07:00:00Z [NUMCYCLESCOMPLETED] => 1 [NUMCYCLESREMAINING] => 0 [OUTSTANDINGBALANCE] => 0.00 [FAILEDPAYMENTCOUNT] => 0
[LASTPAYMENTDATE] => 2010-03-25T10:01:51Z [LASTPAYMENTAMT] => 3.95 [TRIALAMTPAID] => 0.00 [REGULARAMTPAID] => 3.95 [AGGREGATEAMT] => 3.95 [AGGREGATEOPTIONALAMT] => 0.00
[FINALPAYMENTDUEDATE] => 2010-03-25T10:00:00Z [TIMESTAMP] => 2010-03-25T13:13:11Z [CORRELATIONID] => 5b92833b55fe6 [ACK] => Success [VERSION] => 57.0 [BUILD] => 1243293 [SHIPTOSTREET] => 1 Main St [SHIPTOCITY] => San Jose [SHIPTOSTATE] => CA [SHIPTOZIP] => 95131 [SHIPTOCOUNTRYCODE] => US [SHIPTOCOUNTRY] => US [SHIPTOCOUNTRYNAME] => United States [SHIPADDRESSOWNER] => PayPal [SHIPADDRESSSTATUS] => Unconfirmed [BILLINGPERIOD] => Month [BILLINGFREQUENCY] => 1 [TOTALBILLINGCYCLES] => 1 [CURRENCYCODE] => USD [AMT] => 3.95 [SHIPPINGAMT] => 0.00 [TAXAMT] => 0.00 [TRIALBILLINGPERIOD] => Day [TRIALBILLINGFREQUENCY] => 1 [TRIALTOTALBILLINGCYCLES] => 1 [TRIALCURRENCYCODE] => USD [TRIALAMT] => 0.00 [TRIALSHIPPINGAMT] => 0.00 [TRIALTAXAMT] => 0.00 [REGULARBILLINGPERIOD] => Month [REGULARBILLINGFREQUENCY] => 1 [REGULARTOTALBILLINGCYCLES] => 1 [REGULARCURRENCYCODE] => USD [REGULARAMT] => 3.95 [REGULARSHIPPINGAMT] => 0.00 [REGULARTAXAMT] => 0.00 )