Testing recurring payments (paypal IPN)

paypal, paypal-ipn, php, recurring

Solution

You send

PROFILESTARTDATE=2012-05-30+T9:0:0

and next payment date (here it is the first payment) is on this day.

[next_payment_date] => 03:00:00 May 30, 2012 PDT

It seems, it is correct. You should change your profile start date I think.

Problem

I am trying to set up a recurring payment service using paypal, my problem is I cant seem to find a way to test it, I already set up at Daily period and 1 as frequency but still the account seems to take a month to make the next payment, Paypal says if you set it to Day it would take minutes instead, but its not even taking a day next payment date is set to one month, has anyone encountered the same issue or better yet, a solution to test it? Thanks Here's the NVP I send: ``` &AMT=19.95 &CURRENCYCODE=USD &PROFILESTARTDATE=2012-05-30+T9%3A0%3A0 &TOKEN=XX-xxXxxxxxXXxxxxxxX &BILLINGPERIOD=Day &BILLINGFREQUENCY=1 &BILLINGTYPE=RecurringPayments &DESC=\Subscription &AUTOBILLOUTAMT=AddToNextBilling &EMAIL=asfjasd@asdfasd.com &FIRSTNAME=juanito &LASTNAME=escarcha &STREET=manzanares &CITY=gdl &STATE=jal &COUNTRYCODE=MX &ZIP=12345 ``` Here's what paypal returns: ``` ( [payment_cycle] => Daily [txn_type] => recurring_payment_profile_created [last_name] => perez [next_payment_date] => 03:00:00 May 30, 2012 PDT [residence_country] => MX [initial_payment_amount] => 0.00 [currency_code] => USD [time_created] => 12:24:08 Apr 30, 2012 PDT [verify_sign] => XXXXXXXXXxxxxxxx [period_type] => Regular [payer_status] => unverified [test_ipn] => 1 [tax] => 0.00 [payer_email] => juan@paypal.com [first_name] => juan [receiver_email] => test@testcompany.com [payer_id] => XXXXXXxxxxxXXX [product_type] => 1 [shipping] => 0.00 [amount_per_cycle] => 19.95 [profile_status] => Active [charset] => windows-1252 [notify_version] => 3.4 [amount] => 19.95 [outstanding_balance] => 0.00 [recurring_payment_id] => I-8JXMN6XXXXX [product_name] => Subscription [ipn_track_id] => 57fbxxXXXXXxx ) ``` Everything seem to be fine except paypal wants to charge the next payment a month from today

Original source

Related problems