php - how to active subscription process with paypal DirectPayment method -


we integrated paypal recurring payment api (php) subscription using express checkout , working fine. trying integrate directpayment accept credit/debit cards using dodirectpayment. send request paypal using dodirectpayment method , returns success in response , want create recurring profile against credit/debit card future transactions. @ point if call createrecurringpaymentsprofile method requires token don't have token returned in dodirectpayment method response create recurring profile. please , guide me right process problem or made mistake.

thanks

createrecurringpaymentsprofile requires token when used express checkout. direct credit cards you'll use same crpp request, you'll leave token out , include credit card parameters instead.

here sample request works fine.

[requestdata] => array     (         [user] => ****         [pwd] => ****         [version] => 112.0         [buttonsource] => angelleye_phpclass         [signature] => ****         [method] => createrecurringpaymentsprofile         [subscribername] => tester testerson         [profilestartdate] => 2014-06-27t00:00:00\z         [desc] => angell eye web hosting         [autobillamt] => 1         [billingperiod] => month         [billingfrequency] => 1         [totalbillingcycles] => 0         [amt] => 10.00         [currencycode] => usd         [creditcardtype] => visa         [acct] => 4635800000971893         [expdate] => 022016         [cvv2] => 123         [startdate] =>          [issuenumber] =>          [email] => tester@hey.com         [business] => testers, llc         [firstname] => tester         [lastname] => testerson         [street] => 123 test ave.         [city] => grandview         [state] => mo         [countrycode] =>         [zip] => 64030     ) 

Comments

Popular posts from this blog

javascript - RequestAnimationFrame not working when exiting fullscreen switching space on Safari -

Python ctypes access violation with const pointer arguments -