paypal-subscriptions

Paypal HTML integration problems (sales tax not showing for recurring payment)

瘦欲@ 提交于 2019-12-05 16:16:28
I am using the Paypal standard (HTML 'API') to integrate Paypal to my website. I have managed to display 'subscribe' buttons for recurring payments, using HTML variables as specified in the Paypal documentation. However, there is one serious "show stopper" problem: I am unable to get Paypal to recognize sales tax amount for RECURRING PAYMENTS. Despite using the 'tax' field (and setting a positive number to it), the tax is not being displayed on the bill for the recurring item. Using the 'tax' field for a 'buy now' button does however work correctly (the tax amount is shown on the bill page).

PayPal Sandbox negative testing of subscriptions with REST API

╄→尐↘猪︶ㄣ 提交于 2019-12-05 15:23:43
I have been working with a team to provide PayPal integration for our application, and our implementation using the REST API to set up subscriptions is going well. I'm having problems, however, trying to test some negative scenarios such as a user having an expired card. I notice that negative testing can be enabled in the sandbox environment, but I believe this only works for the Classic API (we are using the REST API). Is there any way I can set up a test user with an expired card, or a test user that has no money in their bank (not PayPal) account etc etc. I want to understand the behaviour

Paypal recurring subscriptions question

强颜欢笑 提交于 2019-12-04 22:00:29
问题 When someone starts a recurring subscription, i pass on the custom variable which contains the User ID of the user on my system. After the payment I receive two IPNs, subscr_signup and subscr_payment. Both have the custom variable in them which lets me identify the user. However, for future recurring payments, will the IPN continue to pass on the custom variable? Should I rely on the subscr_id instead of custom? Thanks. 回答1: I found the answer from this page. Yes, the custom variable will

How to redirect after payment using PayPal's javascript subscribe button

自作多情 提交于 2019-12-04 21:18:31
Here's my script tag: <script src="/data/js/paypal-button.min.js?merchant=MERCHANT_CODE" data-button="subscribe" data-name="Product - 1 Year Subscription" data-amount="49.99" data-recurrence="1" data-period="Y" data-callback="http://url" data-cancel_return="http://url" data-env="sandbox" ></script> I don't know why and how I should properly do it but I tried with several of PayPal's data attributes like notify, return, return_url and more but nothing seems to work. I pay and then get on this page: But no redirect to the callback page, what am I doing wrong please? Thanks and have a nice day!

Allow end user to modify recurring paypal subscription amount

淺唱寂寞╮ 提交于 2019-12-04 15:02:19
I've read a few responses here regarding the modification of the recurring fee amount but still confused. We have 5 subscriptions levels per month: £10 £15 £20 £30 £50 We want to be able to let customers change their subscription package to any of the other options. It sounds like if they are changing to a package with more than 20% difference from the one they are on - we would have to make them cancel and start a new subscription. Surely there is a way to have the subscriber confirm they are happy to change the amount? thanks User can modify your paypal amount, but some restriction are there

How to get paypal API credentials?

限于喜欢 提交于 2019-12-04 10:59:20
问题 I am using Paypal recurring payments and direct payment. I tested it using beta-sandbox and works fine. Now I want to make to real paypal account. I have been given real paypal account, and I login with it on https://www.paypal.com/, but I don't know how can I generate API Credentials ? this looks completely different from sandbox environment. 回答1: Check out this guide to Obtaining API Credentials from PayPal. You will find how to create/view/remove your API signature/certificate in PayPal's

PayPal Subscription IPN Next Billing Date

只愿长相守 提交于 2019-12-04 07:37:56
My web app uses PayPal monthly subscriptions. I receive IPN notifications when payments are made, users signup/cancel, etc and this all seems to work well. One thing that appears to be missing from the IPN messages is any sort of indication about the next billing date. https://developer.paypal.com/docs/classic/ipn/integration-guide/IPNandPDTVariables/#id091EB0901HT At first I thought that since it's a monthly subscription, I can simply add a month to the previous date, but PayPal seems to have a funky way of figuring out the next payment date - it's not always 30 or 31 days or a month. The

Paypal recurring subscriptions question

a 夏天 提交于 2019-12-03 12:53:28
When someone starts a recurring subscription, i pass on the custom variable which contains the User ID of the user on my system. After the payment I receive two IPNs, subscr_signup and subscr_payment. Both have the custom variable in them which lets me identify the user. However, for future recurring payments, will the IPN continue to pass on the custom variable? Should I rely on the subscr_id instead of custom? Thanks. I found the answer from this page . Yes, the custom variable will always be passed as-is in every consecutive IPN post. Quote: Custom is passed back through both the signup and

Paypal, Recurring Billing, and ActiveMerchant

|▌冷眼眸甩不掉的悲伤 提交于 2019-12-03 01:47:08
问题 I'm trying to research how to add a subscription based pay model on an existing site of mine, but am running into a lot of conflicting information and caused me to be a bit lost. All I need is a very simple way to set up recurring billing (per month) by credit card. I just need a simple solution, but am having a hard time finding the best practices of setting it up. So far I understand that this is supported by Paypal's Website Payment Standards option. I just have a few questions regarding

How do I test Paypal subscription buttons with sandbox?

£可爱£侵袭症+ 提交于 2019-12-02 18:57:42
after 5 hours of research and reading outdated paypal documentation I finally give up! I need to test a simple paypal subscription button with the paypal sandbox. Button Code: <form action="https://www.sandbox.paypal.com/us/cgi-bin/webscr" method="post"> <input type="hidden" name="cmd" value="_s-xclick"> <input type="hidden" name="hosted_button_id" value="34CXHXVU2J8BY"> <input type="image" src="https://www.paypalobjects.com/en_US/GB/i/btn/btn_subscribeCC_LG.gif" border="0" name="submit" alt="PayPal — The safer, easier way to pay online." style="border:none;padding:0;height:auto;width:auto">