codeigniter - How to Setup Recurring Payments -


how can integrate recurring payment in paypal using codeigniter platform.can share tutorial this.

 <form id="fpaypal" method="post" name="paypal_form" action="<?= $paypal_url ?>" style="display: none"> <!-- paypal configuration -->  <input type="text" name="business" value="<?= $this->preparetodisaplay($settings_list['paypalemail']->value) ?>"> <br /> <?php if($recurring) { ?>     <input type="text" name="cmd" value="_xclick-subscriptions"><br/>     <input type="text" name="a3" value="<?= $camp_member_info->total ?>"><br/>     <input type="text" name="p3" value="1"><br/>     <input type="text" name="t3" value="m"><br/>     <input type="text" name="src" value="1"><br/>     <input type="text" name="srt" value="<?= $month_count ?>"><br/> <?php } else { ?>     <input type="text" name="cmd" value="_xclick"> <br /> <?php } ?>  <input type="text" name="custom" value="<?= $camp_member_info->id ?>" /><br /> <input type="text" name="shopping_url" value="<?= esc_url(get_permalink()) ?>" /><br /><br /> <input type="text" name="return" value="<?= esc_url($this->get_front_url('paypal-thankyou', $location_id, $price_id)) ?>" /><br /> <br /> <input type="text" name="rm" value="2"><br /> <input type="text" name="currency_code" value="usd"><br /> <input type="text" name="lc" value="us"><br /> <input type="text" name="bn" value="toolkit-php"><br /> <input type="text" name="cbt" value="continue"><br /><br />  <!-- payment page information -->  <input type="text" name="no_shipping" value=""><br /> <input type="text" name="no_note" value="1"><br /> <input type="text" name="cn" value="comments"> <br /> <input type="text" name="cs" value=""><br /><br />  <!-- product information -->  <input type="text" name="item_name" value="<?= $this->preparetodisaplay($price->name) ?>" /><br /> <input type="text" name="amount" value="<?= $this->preparetodisaplay($camp_member_info->price) ?>" /><br /> <input type="text" name="quantity" value="1" /><br /> <?php if($coupon !== null) { ?>     <input type="text" name="discount_amount" value="<?= $this->preparetodisaplay($camp_member_info->discount) ?>" /><br /> <?php } ?>  <br />  <!-- customer information -->  <input type="text" name="email" value="<?= $this->preparetodisaplay($member->email) ?>" /><br /> <input type="text" name="first_name" value="<?= $this->preparetodisaplay($member->firstname) ?>" /><br /> <input type="text" name="last_name" value="<?= $this->preparetodisaplay($member->lastname) ?>" /><br /> <input type="text" name="address1" value="<?= $this->preparetodisaplay($member->address1) ?>" /><br /> <input type="text" name="address2" value="<?= $this->preparetodisaplay($member->address2) ?>" /><br /> <input type="text" name="state" value="<?= $this->preparetodisaplay($member->state) ?>" /><br /> <input type="text" name="city" value="<?= $this->preparetodisaplay($member->city) ?>" /><br /> <input type="text" name="zip" value="<?= $this->preparetodisaplay($member->zip) ?>" /><br /><br />    <input type="submit" value="pp" /><br /> 

/////////////////////////////////////////////////////////////////////

a3 = amount of 1 billing period t3 = time period (m - month, d - day, etc...) p3 = number of time periods in billing period src = 1 (1 - recuring payments) srt = number of billing periods  description: a3 dollars, each p3 t3, srt installments 

Comments

Popular posts from this blog

Ansible - ERROR! the field 'hosts' is required but was not set -

customize file_field button ruby on rails -

SoapUI on windows 10 - high DPI/4K scaling issue -