creating a buy it now button that includes a "pre authorised" charge

mattykboro
Contributor
Contributor
is it possible to create a buy it now button that combines both a one off charge (in this case a hire charge), with a pre authorised future charge (deposit)
Login to Me Too
1 REPLY 1

snowshoe
Frequent Advisor
Frequent Advisor

Yes, it's possible however, the code has to be manually generated as what you have in mind is not possible using the online button creator.

 

Here's one example that uses the Subscription item button code, it's possible to tweak the variables for the 1 time additional charge verses the current monthly charge.  

 

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>

<title>Button Example Code</title>

<!-- START META TAG SECTION -->
<meta charset="utf-8">
<meta http-equiv="Content-Type" content="text/html;charset=utf-8">
<meta http-equiv="Content-Language" content="en">
<!-- END META TAG SECTION -->



</head>

<body>

<!-- START SAMPLE CODE SECTION -->


<!-- PARAGRAPH 1 -->
Subscription Examples

<br><br>

Onetime Setup Fee plus Monthly Maintenance Service Charge.

<br><br>

Notes:

<br>

There's a Onetime Setup Fee of $25.00 plus a Monthly Maintenance Fee of $10.00. 

<br><br>

The Setup Fee is charged by using the Trial Variables set for one day, after that the regular payment starts on the second day.

<br><br>


<!-- START BUTTON EXAMPLES -->
Widget Monthly Maintenance Service

<br><br>

<!-- Start of Form -->
<form target="_self" action="https://www.paypal.com/cgi-bin/webscr" method="post">
<!-- If using a Business or Company Logo Graphic, include the "cpp_header_image" variable in your View Cart code. -->
<input type="hidden" name="cpp_header_image" value="https://static.e-junkie.com/sslpic/86639.7c555e9a35606a4c310ad6ce4e465d50.jpg">
<input type="hidden" name="cmd" value="_xclick-subscriptions">
<!-- Replace "business" value with your PayPal Email Address or Account ID -->
<input type="hidden" name="business" value="your email address">
<input type="hidden" name="item_name" value="Widget Monthly Maintenance Service">
<input type="hidden" name="on0" value="One Time Setup Fee">
<input type="hidden" name="os0" value="$25.00 charged the first day.">
<input type="hidden" name="no_shipping" value="0">
<!-- Replace value with the web page you want the customer to return to after a successful transaction -->
<input type="hidden" name="return" value="http://www.jkstudiollc.com/ZZcode/ThankYou.html">
<!-- Replace value with the web page you want the customer to return to after item cancellation -->
<input type="hidden" name="cancel_return" value="http://www.jkstudiollc.com/ZZcode/Cancel.html">
<input type="hidden" name="no_note" value="1">
<input type="hidden" name="currency_code" value="USD">
<input type="hidden" name="lc" value="US">
<!-- "a1" Trial amount 1. This is the price of the first trial period. For a free trial, use a value of 0 -->
<input type="hidden" name="a1" value="25.00">
<!-- "p1" Trial period 1. This is the length of the first trial period. The number is modified by the trial period 1 units (t1, below) -->
<input type="hidden" name="p1" value="1">
<!-- "t1" Trial period 1 units. This is the units of trial period 1 (p1, above). Acceptable values are: D (days), W (weeks), M (months), Y (years) -->
<input type="hidden" name="t1" value="D">
<!-- "a3" Regular rate. This is the price of the subscription -->
<input type="hidden" name="a3" value="10.00">
<!-- "p3" Regular billing cycle. This is the length of the billing cycle. The number is modified by the regular billing cycle units (t3, below) -->
<input type="hidden" name="p3" value="1">
<!-- "t3" Regular billing cycle units. This is the units of the regular billing cycle (p3, above) Acceptable values are: D (days), W (weeks), M (months), Y (years) -->
<input type="hidden" name="t3" value="M">
<!-- "src" Recurring payments. If set to “1,” the payment will recur unless your customer cancels the subscription before the end of the billing cycle. If omitted, the subscription payment will not recur at the end of the billing cycle -->
<input type="hidden" name="src" value="1">
<!-- "sra" Reattempt on failure. If set to “1,” and the payment fails, the payment will be reattempted two more times. After the third failure, the subscription will be cancelled. If omitted and the payment fails, payment will not be reattempted and the subscription will be immediately cancelled -->
<input type="hidden" name="sra" value="1">
<input type="hidden" name="bn" value="PP-SubscriptionsBF:btn_subscribeCC_LG.gif:NonHosted">
<input type="image" src="https://www.paypalobjects.com/en_US/i/btn/btn_subscribeCC_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
<img alt="" border="0" src="https://www.paypalobjects.com/en_US/i/scr/pixel.gif" width="1" height="1">
</form>
<!-- End of Form -->


<!-- END BUTTON EXAMPLES -->



<!-- END SAMPLE CODE SECTION -->

<br><br>
<hr align="left" width="50%" noshade>
<br><br>
NOTES:
<br>
In order to test the code, you must replace the &quot;business&quot; value variable with your PayPal Email Address or Account ID.


</body>
</html>

 

 

Login to Me Too

Haven't Found your Answer?

It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.