Stack on Setting Paypal Discount promo
Hi would like to set promo discount for my Paypal subscription but i ended and stack solving how i can set the Trial period (total cycles and Remaining cycles)
I setted up my button with this snippets
<!-- First two Days of subscription are free. -->
<input type="hidden" name="a1"value="10">
<input type="hidden"name="p1" value="2">
<input type="hidden" name="t1" value="D">
<!-- Recurring subscription payments. -->
<input type="hidden" name="a1"value="20">
<input type="hidden" name="p3" value="1">
<input type="hidden" name="t3" value="D">
<input type="hidden" name="src" value="1">
and paypal sumarises it as
"$10 USD for the first 2 Days then $20 for each day"
But what i wanted to state is
"$10 USD each day for the first 2 Days then $20 for each day"
Either you can state 20 USD for 2 days like below :
<!-- First two Days of subscription are free. -->
<input type="hidden" name="a1"value="20">
<input type="hidden"name="p1" value="2">
<input type="hidden" name="t1" value="D">
Or you can set the two trial period for 10 USD each days like below
<!-- First two Days of subscription are free. -->
<input type="hidden" name="a1"value="10">
<input type="hidden"name="p1" value="1">
<input type="hidden" name="t1" value="D">
<input type="hidden" name="a2"value="10">
<input type="hidden"name="p2" value="1">
<input type="hidden" name="t2" value="D">
For this PayPal will show something like :
$10.00 USD for the first day
Then $10.00 USD for the next day
Then $20.00 USD for each day
Related
I want to charge $47/month for the first month. Then only $37 for every additional month. Essentially, I want to discount the recurring payments if they stay with me.
How can I do this in PayPal buttons?
<form action="https://www.paypal.com/cgi-bin/webscr" method="POST">
<input type="hidden" name="cmd" value="_xclick-subscriptions">
<input type="hidden" name="business" value="your-email-address#yourdomain.com">
<input type="hidden" name="item_name" value="Subscription description here">
<input type="hidden" name="currency_code" value="USD">
<input type="hidden" name="a1" value="47.00"> <!-- Set this to the price you want to charge them upfront -->
<input type="hidden" name="p1" value="1"> <!-- Set the length of the trial to 1 interval (t1 will define the interval) -->
<input type="hidden" name="t1" value="M"> <!-- Set the interval to months -- trial is now one month in length -->
<input type="hidden" name="a3" value="37.00"> <!-- Amount to charge each month -->
<input type="hidden" name="p3" value="1">
<input type="hidden" name="t3" value="M"> <!-- Payments are one month apart -->
<input type="hidden" name="src" value="1"> <!-- Payments don't automatically stop -->
<input type="image" alt="PayPal - The safer, easier way to pay online!" src="https://www.paypal.com/en_US/i/btn/btn_subscribe_LG.gif">
</form>
PayPal subscription for sandbox not working.
Below is my code
<input type="hidden" name="cmd" value="_xclick-subscriptions">
<!-- Identify the subscription. -->
<input type="hidden" name="item_name" value="Alice's Weekly Digest">
<input type="hidden" name="item_number" value="DIG Weekly">
<!-- Set the terms of the regular subscription. -->
<input type="hidden" name="currency_code" value="USD">
<input type="hidden" name="a3" value="5.00">
<input type="hidden" name="p3" value="1">
<input type="hidden" name="t3" value="D">
<input type="hidden" name="notify_url" value="http://example.com/paypal/paypal.php?action=ipn">
<!-- Set recurring payments until canceled. -->
<input type="hidden" name="src" value="1">
When I am checking in my PayPal account it is creating subscription profile and display next payment due date but on that day PayPal did not deduct amount from my account and also not sending any IPN on notify url.
Am I missing something in above code?
I am trying to integrate a subscription button into one of my pages, but currently getting stuck understanding how the button works.
According to https://www.paypal.com/en/cgi-bin/webscr?cmd=_pdn_subscr_techview_outside, I have to set the following to make a donation per month
a3 5.00
p3 1
t3 M
Explanation as follows:
a3 - amount to billed each recurrence
p3 - number of time periods between each recurrence
t3 - time period (D=days, W=weeks, M=months, Y=years)
With the options stated above, a subscription is started, a payment made and shortly after the subscription expires. Paypal's detail page for the subscription says, max cycles is 1.
My assumption is that p3 sets the recurrence to 1. The payment is made, and the subscription expires as max cycles has been hit.
Another theory is, that this auto expire behavior is caused because I verified my paypal account earlier the day (~3h ago). Maybe it needs some time to propagate my new status?
I am wondering why this behavior is caused, and how I am able to set the cycles to a higher amount (permanent?).
My button code is available here http://pastebin.com/vSxVq4tf
All right, it looks like this is a bug (or missing feature?) in the paypal javascriptbuttons SDK. This behavior is caused since the src parameter is missing, that doesn't appear to be documented anywhere.
After adding src=1 to the button, subscription change from for one month to each month. I submitted a pull request and currently wait for approval by the paypal folks.
Here's a basic PayPal Standard open source subscription button setup for $10.00 once a month and never ending.
a3 = amount
p3 = number of times to bill ie 1= once a month
t3 = (when the billing takes place) ie Monthly
<form action="https://www.paypal.com/cgi-bin/webscr" method="post" target="_top">
<input type="hidden" name="cmd" value="_xclick-subscriptions">
<input type="hidden" name="business" value="youremail#youremail.com">
<input type="hidden" name="lc" value="US">
<input type="hidden" name="item_name" value="Testing Subscription">
<input type="hidden" name="no_note" value="1">
<input type="hidden" name="no_shipping" value="2">
<input type="hidden" name="src" value="1">
<input type="hidden" name="a3" value="10.00">
<input type="hidden" name="p3" value="1">
<input type="hidden" name="t3" value="M">
<input type="hidden" name="currency_code" value="USD">
<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>
When the "Buy Now" button is clicked and the user is redirected to the Paypal.com order page the "Terms" column text for the order does not read well. It is a bit confusing to some users.
Example as displayed on my Paypal.com order page:
Terms: $25.00 USD for each 24 months
I created a test "Buy Now" button my Paypal account(not through lm_module), with a recurring billing to see how Paypal displays terms.
Example as displayed on my Paypal.com order page:
Terms: $25.00 USD for each month
When comparing both "Terms" I see that the lm_module adds the "Regular billing cycle" number to the "Terms" on the Paypal order page, and also the "Regular billing cycle units."
It looks like the output is implemented like: (Regular rate) for each (Regular billing cycle units) (Regular billing cycle)
Does anyone know how this can be edited to a more reader friendly terms?
Thank you for your support.
You can modify your form with the "a3"(amount), "p3" (interval count), "t3" (interval), and "scr" (is recurring) hidden fields:
<form name="_xclick" action="https://www.paypal.com/cgi-bin/webscr" method="post">
<input type="hidden" name="cmd" value="_xclick-subscriptions">
<input type="hidden" name="business" value="me#mybusiness.com">
<input type="hidden" name="currency_code" value="USD">
<input type="hidden" name="no_shipping" value="1">
<input type="image" src="http://www.paypal.com/en_US/i/btn/btn_subscribe_LG.gif" border="0" name="submit" alt="Make payments with PayPal - it's fast, free and secure!">
<input type="hidden" name="a3" value="5.00">
<input type="hidden" name="p3" value="1">
<input type="hidden" name="t3" value="M">
<input type="hidden" name="src" value="1">
<input type="hidden" name="sra" value="1">
</form>
NOTE: This does not work with the "hosted button".
Source: https://www.paypal.com/cgi-bin/webscr?cmd=_pdn_subscr_techview_outside
I am new to creating Paypal payment buttons in which i want to use subscribe button with my plan. In this i want to limit my subscription cycle to only 1 billing cycle but Paypal has minimum 2 cycles in drop down when i am using payment standard.
I have program to sell for 497$ and i want to offer $1 trial period and after 1 week trial i want to charge another 496$. I want to then take customers to my registration page where i have set up membership website in WordPress using Wishlist Member. So i can use only subscribe button if i want to use wishlist as it is not compatible with installment button and also in my country (India) Paypal is not offering such advanced buttons.
Any subsequent help will be appreciated.
This is a hack as the PayPal Subscription buttons do not support 'delayed payments' but it would be like this:
<form action="https://www.paypal.com/cgi-bin/webscr" method="post">
<input type="hidden" name="cmd" value="_xclick-subscriptions">
<input type="hidden" name="business" value="youremail#yourdomain.com">
<input type="hidden" name="item_name" value="test subscription">
<input type="hidden" name="no_shipping" value="1">
<input type="hidden" name="no_note" value="1">
<input type="hidden" name="currency_code" value="USD">
<input type="hidden" name="lc" value="US">
<input type="hidden" name="bn" value="SgtPooki">
<input type="hidden" name="a2" value="1.00">
<input type="hidden" name="p2" value="1">
<input type="hidden" name="t2" value="W">
<input type="hidden" name="a3" value="496.00">
<input type="hidden" name="p3" value="1">
<input type="hidden" name="t3" value="M">
<input type="hidden" name="src" value="1">
<input type="hidden" name="srt" value="1"><input type="hidden" name="sra" value="1">
<input type="image" src="https://www.paypal.com/en_US/i/btn/btn_subscribe_SM.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
</form>
The text that appears on the checkout page at PayPal, which you cannot change, will say:
Then $1.00 USD for the next week
$496.00 USD for each month, for 1 installments