How to build a payment system as Airbnb with Stripe and Woocommerce - wordpress

I need your help. I'm building a website similar to Airbnb containing the following tool:
Hivepress template
Woocommerce
Stripe plugin for payments called "Payment Plugins for Stripe
WooCommerce" (Payments works with Stripe Connect express) Hotel has
to register on "connect" before creating a listing.
Stripe plugin customization to collect FEES
I'm using Stripe Connect express but I think I missed something due I paid the final user (hotel) straight away.
I want to achieve that result:
The user book a hotel (paying total + commission 15%)
My site receives the booking confirmation
24h after the booking I pay the hotel (money has to get directly from
the user who pays and not from my balance)
Thanks!

When creating separate charges and transfers, you need to specify the source_transaction parameter to tie a transfer to an existing charge. You can read more about this here.

Related

selling a whole website with its subscribers who pay through stripe

I use “WooCommerce Stripe Payment Gateway” plugin. Now I decided to sell the website.
How can I connect the new owner’s Stripe account (instead of mine)?
The new owner must have the data of subscribers.
Thanks in advance.
I've seen Stripe doc but I'm not sure about the solution.
I found this solution on WooCommerce Subscriptions FAQ
Can I change the account used for a payment gateway?
Yes, if you want to keep the same payment gateway but you have changed
account, for example, due to a change of ownership, then it is
possible to still use the same payment gateway on your site but please
contact the gateway themselves and ask about transferring/migrating
the customer information to your new account, then update any API keys
or credentials in your WooCommerce payment gateway settings.

Migrating customer stripe payment data from Squarespace to Woocommerce

I am migrating a website that offers subscription services from Square Space to Woo Commerce. Both platforms were configured using our Stripe account.
I am trying to figure out if we can migrate our existing customers into the new Woo Commerce app, so that it will use the same payment information that is already stored in Stripe. Basically we do not want existing customers to have to re-enter their payment information as we know we will lose some customers during this process.
On the Square Space side of things: whenever a new customer is created they create a customer in Stripe, then make a request to the Payment Intent API, associate the intent token to the customer, and then use this to charge the customer every time a payment is due.
On the Woo Commerce side of things: we are using the official Woo Commerce membership and subscription plugins. Whenever a new customer is created, a customer is created in Stripe, a payment method is attached to that user, and then that payment is used to charge the customer.
So my question for anyone who has a deep understanding of WooCommerce, is there a way to update how Woocommerce is integrating with Stripe to try and use the payment intent API tokens that we already have for these existing customers?
As long as these Customers were created under your account, you should be able to leverage them.
As a small correction, you would not be referring to existing Payment Intents, but rather existing Payment Methods attached to the Customer. You could, for example, retrieve these for any customer from the API and then use one of them to create a new Payment Intent.
Whether WooCommerce needs to do anything to be aware of these existing Customers or Payment Methods I can't say, but you should contact them for support about that.

WooCommerce shipping charges isssue with PayPal

Issue in WooCommerce Shipping Calculation with PayPal
Currently Using WooCommerce for cake store and using PayPal for payment gateway.
I have created $5 discount for store pickup. So ideally a $50 product should be $45. That reflects in the website.
But when user goes to "Payment via PayPal", it still shows $50.
Any suggestions how to override shipping calculations of PayPal on WooCommerce?
I saw many articles on google but can't find the appropriate solution.
I also checked the box on override allow transaction-based postage values to override the profile postage settings listed above (if profile settings are enabled), but with no luck.
Can any one help me with this? Thanks in advance.
There are various ways to resolve the issue, but perhaps the most straightforward would be to switch to a PayPal payment plugin that uses an API instead of Payments Standard, for example this official one: https://woocommerce.com/woocommerce-and-paypal/ (there are also various third party ones available)
Then, profile shipping settings in the PayPal account will not affect WooCommerce transactions in any way, since everything about the transaction will be set via the API. This is also a more robust and feature-rich solution in general, and so recommended by both PayPal and most programmers/developers familiar with PayPal integration methods.

Woocommerce Subscriptions Stripe Automatic Recurring payments not working

I used woocommerce product to subscribe automatic recurring payment through stripe payment gateway in my site.I have used woocommerce,woocommerce subscription,woocommerce stripe gateway plugins for this process.
First payment for subscription is working fine,but automatic recurring payment is not working with stripe.
Here are the plugin links that i have used.
http://www.woothemes.com/products/woocommerce-subscriptions/
Can anyone provide solution for this issue?
Please do reach out to our support at WooThemes as we'd be happy to see what's happening here. Our official Subscriptions and Stripe extensions do work and have automatic recurring payments.
Here's a few things to check:
Be sure you have the latest version of WooCommerce, Stripe extension, and Subscriptions.
There may be a cron issue with your WordPress site. Try using WP Crontrol to find if there are any cron jobs that have been halted.
Find the scheduled payment that did not process and use the action scheduler to see if it was never fired. You can find this by navigating to /wp-admin/edit.php?post_type=scheduled-action. In the search box, enter {order_id}_ i.e. the ID of the order in which the subscription was purchased followed by an underscore. For example, for a subscription purchased in order 3125, the search string is 3125_.
We've also struggled with Stripe payments not automatically renewing (the initial payment goes through but not any of the renewal payments). We did try WooThemes support but they couldn't find the order as it was made by another web design company so we didn't have access to the order details. Also, you'll find the log's aren't very verbose.
The solution:
Go to: WP-ADMIN > WooCommerce > Settings > Payments > Click "Manage" next to Stripe > Click the box next to "Saved Cards". This needs to be enabled or it won't take payment.

Pass wordpress form data to checkout Page of shopify?

I create shopify shop and integrate it in wordpress website.And now I want to pass the custom form(created in wordpress) data to shopify checkout page.Data such as email,telephone,name etc.IS it possible or not?
Shopify API doesn't allow to create orders from outside services. You indeed can create carts with products / variants in cart (outside Shopify) and force the user to finish the buying process at PCI compliant Shopify checkout, which has 2 steps: (considering s/he is not authed)
A.- Buyer enters billing / shipping info as well as email address.
B.- Buyer enters discount coupon/s, chooses shipping method, enters payment info (credit card, paypal, wire, cod...)
Checkout url will look like: checkout.shopify.com/carts/your_store_id/cart_id

Resources