Reputation: 717
I am currently creating a paypal payment with recurring support. I want it in such a way that there is an initial payment made.
Example :
The initial payment is charge upon checkout. I'm using the html standard integration process.
Is it possible?
Upvotes: 2
Views: 7256
Reputation: 19356
Yes, this is possible with Website Payments Standard (the 'HTML standard integration process' I assume you use). Simply include a trial period within the subscription, and start charging X days from when subscriptions ends.
See the subscription variables here.
Upvotes: 2
Reputation: 427
But on the below link the INTAMT is not proper way to deduct initial payment Paypal recrurring payments
So please put your thoughts.
Upvotes: -1
Reputation: 625
I too switched from website payment's pro to html integration and unfortunately initial amount option is not available in HTML version. If you can switch website payments pro and use API then you can have the option of initial amount (I had to switch because API is not allowed on Israel paypal accounts) otherwise the only option you have in HTML is trial periods.
Upvotes: 0
Reputation: 6192
Using paypal NVP API for PHP, you can send the initial payment to paypal like this.
$nvpstr="&AMT=10&CREDITCARDTYPE=$creditCardType&ACCT=$creditCardNumber&EXPDATE=". $padDateMonth.$expDateYear."&CVV2=$cvv2Number&FIRSTNAME=$firstName&LASTNAME=$lastName&STREET=$address1&CITY=$city&STATE=$state".
"&ZIP=$zip&COUNTRYCODE=US&CURRENCYCODE=$currencyCode&PROFILESTARTDATE=$profileStartDate&DESC=$profileDesc&BILLINGPERIOD=$billingPeriod&BILLINGFREQUENCY=$billingFrequency&TOTALBILLINGCYCLES=$totalBillingCycles&INITAMT=30.00";
$resArray=hash_call("CreateRecurringPaymentsProfile",$nvpstr);
parameter INITAMT
specifies the initial payment amount
Upvotes: 4