This is an Authorize.net question...I am looking for a way to create a subscription from a previous payment a customer has made through an API call or another way instead of having to login to the Merchant Interface. I have done some research but currently have not found a way to do this. Is this possible?
Also, in the Merchant Interface, there is a "View Rebillable Transactions" button that allows you to submit a charge to a card the customer has used in the past. Is it possible to have this same functionality using an API?
Any help is appreciated!
Not yet. It's something they are considering but as of right now you can only do it either using the ARB API by making it immediately or doing it through the merchant interface.
Related
I need a php paypal class to inntegrate PayPal payments to my website.
User from form should be able to order the service, it should redirect to paypal pay page and after the payment is done, i should get back the "success" parameter to mysql database with generated invoice number from paypal.
This class seems to work:
simple-paypal-integration-in-php
but there is one problem: after user makes payment, i get "success" status in my db table but the invoice number always being generated different than paypal does. And I don't know why is that. May be you know some better classes i could use to make PayPal payments or how to fix that class.
Thank You!
please use paypal adaptive payment api it is very simple to implements in your projects
I have a website coded in PHP that uses paypal buttons/IPN for subscriptions.
The method is limited and I need to replace it with the REST-API.
What the system needs to do:
Accept new user recurring-payment subscriptions
Be able to change plan pricing for new users
Be able to change plan pricing for existing users
Change subscription plans mid-subscription(If a user upgrades from pro to master the price goes up, and the opposite way it goes down).
The price difference between packages is 5$
Give periodic discounts for a limited amount of months.
The questions:
1.) What is the equivalent of recurring-payments in the PHP-API or REST-API? (I'd rather it auto-charges and notifies my IPN if possible)
2.) How can I automatically refund/charge an additional amount when the user upgrades/downgrades in the middle of a month?
3.) Is there a standalone PHP control-panel that can connect to the paypal API to manage the subscription packages + sales?
Thanks in advance!
If you are looking to use REST APIs, the best place to start is going to be at the REST API docs. For your situation, you can use the vault to set up a recurring payment system. You could also use the future payments API, but you will need to make sure you buy DPRP for your account. Contact PayPal Customer Support to enable DPRP.
With the Vault API, you can just create one time payments over and over with the token you get when storing a credit card.
There is an in-depth walkthrough using the SDK on the PayPal PHP SDK Wiki.
To do refunds, you can use the Refund REST API. All this assuming that you would be writing scripts to detect your user downgrading/upgrading. You would just need to store the amount they are paying each month in your DB.
There are some shopping carts out there that are implementing REST APIs. You might need to google search for something like that.
Hope that helps and gets you started in the right direction!
I have an issue right now that is killing me, I have implemented several payment options but never used paypal, I don't know why is it so complicated.
The website already exists and wasn't developed by myself.
I don't know the ammount of the order it is dynamic, so the "create payment buttons" on the paypal website doesn't work for me, at this point i developed a solution using
PayPal developers
But it turns out that i only have the option to pay with a PayPal account or register a PayPal account, I do not want to force customers to do this, it has no sense. is there any relatively easy solution out there using the same PayPal API?
EDIT
The whole site code is in PHP so i need the solution in this language
As you have mentioned that you are aware of one payment method i.e. Express Checkout ( in which user needs to have a valid Paypal account) so the other method which I think you need is the Direct Payment (i.e. a user can pay with credit cards directly without any Paypal account) API.
For this direct payment api you need to enable Website Payment Pro WPP , here you can get info about WPP.
I am trying to integrate Stripe on a Symfony2 project, and the only payment method I see on their documentation is the "Pay with card" button https://stripe.com/docs/checkout which creates an embedded popup on my project. But the problem is that I need the users to insert their credit card number on Stripe's website, just like Paypal does. Is there any payment method that Stripe provides, and get all the user's informations from a form that is on their website?
Thank you.
Stripe doesn't offer a redirection to its site to collect card details. (source)
In most instances, buyers don't even know they're using Stripe to pay.
To collect card details and turn them into a token, you can either:
use Checkout, a premade form with some customization options, or
make your own form using Stripe.js.
If neither of these is an option for you, you can check the list of Stripe third-party integrations to see if something fits your needs.
This is now possible.
Stripe customers are now able to use Client-only Checkout feature which is currently in beta. Flow is the same as with PayPal - users will be redirected to Stripe-hosted checkout website.
Directing customers to Stripe to make payments online
I need to setup a payment method on my website that allows a certain user to pay another via two email address'. So essentially, user1 comes to a page, downloads an invoice and has the option to pay that invoice using a link which redirects to paypal with the prefilled details i.e. payeremail, receiveremail, amt, currencycode. Does anyone know which API call I need to make to do this? All I can really see in the API is for other users to pay my account which I already have setup for another function. Thanks in advance.
You need PayPal IPN, after the payment goes through you will receive following information https://cms.paypal.com/us/cgi-bin/?cmd=_render-content&content_ID=developer/e_howto_html_IPNandPDTVariables
Here is PHP handler for the IPN, http://www.boolcast.com/development/joomla-custom-paypal-ipn
You can also look at other sample code example on PayPal site.