Dear
We have a quite particular requirement from a client of ours, for whom we are developing an e-commerce website (WooCommerce).
The web site should accept subscriptions. However, these subscriptions are to be paid with the authorization&capture way. Let's say one can subscribe for 1 kg bread every Monday, Tuesday and Saturday within the current month. However not always the number of all Mondays, Tuesdays and Saturdays is the same for all months. In addition, it can be that sometimes bread weights some more or some less than 1 kg and will have another price. That's why we have chosen to go for authorizing and capturing, as the price is not predictable 100%. So, we ask for, let's say, 20 USD (the price of 1 kg bread for a fixed number of days) + 15% (covering the difference of weight) and, day by day, we capture a portion of it
The authorize&capture system works great for one single month. But what if you have to repeat this every month?
With another gateway, provided by a local bank, we are able to save a token of the credit card in our DB and programmatically authorize different amount of money every month regarding the same subscription. We coded this manually, but the flexibility of their API could get the job done.
So what we need is a solution where:
Upon the first time, an order is created with authorization and capture system;
At the beginning of the following months, the order is repeated, but with a different authorization regarding the total amount;
The orders should be created programmatically for the following months: the client should not give again username and password on PayPal gateway website.
Is something like this possible with PayPal?
... View more