My use case is that I have multiple products some of which are one time payment and others are recurring payment products. I want to charge the user only once so that the user doesn't have to pay for each product separately. According to my study we can create multiple product subscriptions with one charge. https://stripe.com/docs/billing/subscriptions/multiple-products#creating
If I had one-time payment products only, I can only receive one payment of the payment amount for selected products (as sum of prices).
But as I have mentioned I have some products which are recurring payment. So my question is if I add one-time payment products in this subscription request will they be charged again ones the recurring period overs, and if yes how can I Implement the above case in PHP?
Note: I want to implement this in custom form. I don't want to be redirected to stripe page.
You can use Stripe Checkout and combine both one-time and recurring prices3.
You can follow this guide in order to integrate Stripe Checkout with PHP.
Here what it will looks like for combining both prices types, the first charge will be for both pricing, and the second charge will be just for the recurring price(s):
Related
I want to know if there is a way to customize WooCommerce such that the clients could pay the same order with multiple payment methods at the same time?
For example, if one order is worth $100, I want to allow clients to pay $25 with a Visa card, then $75 with a Discover card. So the general idea is to pay one order (don't checkout multiple times), but use more than just one payment method.
I assume there is some way to personalize something, but I want to know where/how to get started with it.
EDIT 1
Just adding a new payment gateway (custom) does not solve the issue. I know how to create a custom payment gateway.
The issue is: how do I allow on ONE checkout for ONE order to get the payment out of 2 or more sources at the same time? For example: $175 cashed in as $50 PayPal + $100 Visa + $25 MasterCard.
There are many clients who would love to have this option, and pay with more cards at the same time!
So, this is not one of those obvious questions as how do I create a custom payment gateway? - that is something easily achievable without spending too much time on it. The multiple payment on same checkout, however, proves to be lengthy / not discussed (I've researched many articles, forums, etc.)
What I would do is to create a custom payment gateway, and in that gateway, create interfaces for ALL the payment methods you want to use.
I would say use something like Stripe for all the CC and then PayPal - that way you will have only two separate ones to handle.
You need to put in an option to pay X amount on each payment gateway on the Checkout screen.
Then in your plugin when someone partially pays, create a coupon for the amount of the partial payment using the Coupon API and apply that.
You will also need an Order Status of Partial Payment or something. You would also need to redirect back to the Checkout page if the order isn't completely paid, instead of the Order Success page.
It's pretty complicated to do this right.
Workaround: You can purchase a gift card on our site for any amount with one credit card. You can then use the gift card and then use another credit card for the balance.
Example: Total price $450
Gift card purchase (Card "A"): $400
Credit Card balance (Card "B"): $50
I am working on our company cart which contains products that people can either subscribe to or just buy outright. The problem is that it should require customers to add both types in a single order.
Question: It is possible to to tell Paypal to charge selected items as subscription and the others as one-time payments?
Note: Some recurring items could be on different billing cycles/frequencies than others.
Note: This question was previously asked here, but is out of date.
I'm currently working on a shopping cart where I want to add paypal payments with subscription feature for credit card customers where the shopping cart have both one time payment products as well as monthly subscription services. I was able to do the subscription separately and one time payment (express checkout) separately. However when both type of items are added on the shopping cart often by the customers.
I want to know how I can integrate paypal for the following scenario.
In the shopping cart there are two items available. One item is a one time payment ( a product) and the other item is the website subscription (monthly recurring payment). I want to know how I can integrate the paypal to do both these different transactions in single checkout process where the subscription and the one time payment works in a single flow.
I have given a sample shopping cart below.
shopping cart
item 1 - 20$
item 2 - 5$
service 1 - 10$ every month
For the above example, i want to know how can i make the one time payments with the each month subscription in single checkout.
You can have loop of cart items and their type of payments (single, recurring) and based on their payment type call respective paypal class and process payment and take their response on one page and show result to user at end of process..Hope this logic will help you
In my magento store have many customers. I want to offer my old customer with this special option.
(i.e) No need to pay at the end of the sale. They can pay later with their outstanding invoices by online mode. Is there any possible to set this option with magento store.
I m using Secure trading payment gateway.
Thanks
Yes, You could implement payment method for special customer group and this payment method Will only generate invoice for the sales order and set its status to Pending.
Then you will do another module that add tab to the customer account page ( for example Pending Invoices ), And this module generate payment form based on invoice/order data and when they pay it you mark the invoice as paid and captured.
Its straight forward concept if you know that Magento Invoices has Statuses ( Paid, Pending, Canceled ) And you can check the invoices from sales->invoice ( just like the orders !)
I have a question regarding Paypal.
I have a website that I sell both products and subscriptions. I have been unable to figure out how someone can purchase a product and a subscription at the same time through my cart.
Logically I would see this as simply two products (one with reoccurring billing), but I can't seem to find a solution.
If you are using Website Payments Standard, this would not be possible. You can not have a regular single transaction and a subscription during the same checkout. However, if you are using Express Checkout, PayPal Payments Pro or Payflow this is possible through using the API's. Depending on which service you use, the flow/code would be slightly different.