I am integrating PayPal subscriptions and one-time payment. What I am looking for is to apply regional sales taxes on subscriptions/billing_agreements, but as per my understanding subscription plans can have a fixed tax that can not be overwritten while signing billing agreement. Is this understanding correct?
There are two options:
Create a copy of the Plan for each region, each with its own tax
Have the Plan tax amount be 0, and calculate a shipping_amount when creating the subscription: https://developer.paypal.com/docs/api/subscriptions/v1/#subscriptions_create
Related
Trying to set up a subscription via paypal rest API. I am looking on a solution on how to modify the subscription and charge the specific fee in 1 checkout. I found a way to change the quantity on the subscription, but the problem paypal does not prorate.
So for example, if user subscribes today with 10x of product and then changes the subscription to 20x of product, the paypal will not charge the prorated fee. So how to handle that?
This is an official msg from paypal:
The new price is effective starting on the next billing cycle. Proration and one-time fees aren't automatically supported. If you want to prorate the difference at the time the plan changes or charge one-time fees, you need to do these manually. https://developer.paypal.com/docs/subscriptions/customize/revise-subscriptions/
How do I charge it manually?
How do I charge it manually?
Use setup_fee to simply add an additional fee, or use a 1 cycle trial period to modify the amount of the first payment, which can be lower or higher.
We are building a web application where a company can buy a license which costs $300 and extra users which cost $10 for one year. Suppose company bought a license and 10 users. They will pay $300+$100 = $400.
After some months if the company wants to buy extra users, they can buy those but they will have to pay remaining days cost at the prorated basis. Like if they buy 1 extra user after 6 months, they will have to pay $5.
So after the license is expired, we want that to be auto-renewed with license cost and users cost for next year which will be $400+$10 = $410. Is there any API for such renewal process?
Also, we are using Paypal API based approach in the application and hence for payment, we need not go to Paypal's gateway. Can I know the maximum limit for such transaction? Is it $10,000?
By default PayPal's limit is $10k but you can call and request they raise that limit.
For what you've outlined it would be best to use Reference Transactions. This way you won't have any limitations on when you process a payment or what amount to process.
For regular PayPal payments you'll need to setup a billing agreement and use the billing agreement ID in future reference transaction requests. For direct credit card you don't need a billing agreement.
I have this monthly subscription and I will be making use of the Paypal Rest API SDKs available in this link:
http://paypal.github.io/PayPal-PHP-SDK/sample/#billing
My question is that, If I updated the billing plan amount, what happens to the users(or billing agreements) subscribing to the old billing plan? Do they pay the updated plan amount in the next billing cycle?
thanks.
Using Paypal's Adaptive Payments API, I am selling physical items that require a ship to address - on the Paypal purchase page I inform Paypal to have the customer select an address. If I have sales tax rules set up on my merchant account, how do I get Adaptive Payments to add sales tax to the order - I hand it the subtotal, and based on the state in the address the user selects, it calculates and adds the sales tax to that subtotal for a grand total?
Isn't this the entire point of Paypal - customer provides this information to Paypal, and then provides me only the information I need for the transaction?
You're right but AFAIK, since PayPal does not want to keep tax rates which differ for countries and type of goods you ship. So, you can either try using
GetShippingAddresses
api call before executing the payment, and add
totalTax
information during
SetPaymentsOptions
call..
Doesn't seem to be able to compute this on its own - I ended up keeping a hack of a solution in place. Prompt the user to provide the state to which the goods will be shipped to, and then calculate the tax on my own before sending the order total (subtotal + tax) to the Paypal workflow. Disappointing, IMO.
We are using PayPal subscriptions to automatically make ongoing monthly donations. The user initially creates a subscription with some pre-determined monthly donation amount (e.g., say $50/month). This creates a recurring subscription which we process by way of IPN. All good there. But, our interface allows the user to come in and change their monthly donation amount, say from $50/month to $100/month. I am wondering how I can change the PayPal subscription to reflect this new amount?
There is a method in PayPal's NVP API called "UpdateRecurringPaymentsProfile" which says I can update the subscription amount, but unfortunately it says:
For recurring payments with Express Checkout, the payment amount can be increased by no more than 20% every 180 days (starting when the profile is created).
(reference: https://cms.paypal.com/us/cgi-bin/?cmd=_render-content&content_ID=developer/e_howto_api_nvp_r_UpdateRecurringPaymentsProfile)
To be honest, PayPal's API's are quite confusing so I'm not sure if I am using the Express Checkout or not. (We are creating Subscription buttons using the simple Website Payment Standard API).
Will this work? If not, is there an alternative to achieve what we need?
Thanks!
I'm not sure if I am using the Express Checkout or not. (We are creating Subscription buttons using the simple Website Payment Standard API).
I hope rereading the above, you will realize that you answered your own question: You are using Website Payments Standard (WPS) not Express Checkout (EC).
With WPS, you can create a subscription modify button but this is super inflexible and I would not recommend it.
With EC, you can modify subscriptions as well (page 99):
Use the UpdateRecurringPaymentsProfile API to modify a recurring payments profile.
NOTE: You can also modify recurring payments profiles from the PayPal website.
You can only modify the following specific information about an active or suspended profile:
Subscriber name or address
Past due or outstanding amount
Whether to bill the outstanding amount with the next billing cycle
Maximum number of failed payments allowed
Profile description and reference
Number of additional billing cycles
Billing amount, tax amount, or shipping amount
NOTE: You cannot modify the billing frequency or billing period of a profile. You can
modify the number of billing cycles in the profile.
NOTE: For recurring payments with Express Checkout, certain updates, such as billing
amount, are not allowed within 3 days of the scheduled billing date, and an error is
returned.
You can modify the following profile information during the trial period or regular payment
period:
Billing amount (excluding tax and shipping)
Number of billing cycles
With that information out of the way... For the most flexibility:
Look at creating Billing Agreement IDs through Express Checkout. You will need to get Reference Transactions enabled on your PayPal account (talk to merchant support to get this done).
With a BAID, you control when your customers are charged, how much they are charged, and pretty much anything else having to do with the transaction. The drawback is the same as the benefit.. you (see 'have to') control it all.