Coinbase delay payment - laravel

I would like to accept payments in Bitcoin through Coinbase but I would like the charge to happen only after a certain period of time. In fact, the website I manage offers car-washings that, due to weather, can be cancelled at any time; instead of issuing expensive refunds, I have opted for charging customers only once the washing has been performed.
The website is built upon Laravel 5.1 and for Bitcoin payments I would like to use Coinbase as its APIs are very well documented.
Do you know if it is possible to delay payments with Coinbase PHP APIs?
Thank you

There is no direct support for this unfortunately, though it's not hard to issue refunds via the API for orders not completed.

Related

Validate more than one receipt at a time from Google developer API

I have a react native app and using react-native-iap library to communicate with Google server to buy the subscriptions. I am using PHP to validate/auto-renewing status of receipt using Google's API i.e https://androidpublisher.googleapis.com/androidpublisher/v3/applications/{{packageName}}/purchases/subscriptions/{{subscriptionId}}/tokens/{{purchaseToken}}. But i am only able to check one subscriptions at a time. Is there any way to check auto-renew status of subscriptions in bulk rather than calling Google's API for each subscription/purchase token ?
I've never heard of this.
What you can do though, is subscribe to real time notifications to know in real time the statuses of your subscriptions:
https://developer.android.com/google/play/billing/getting-ready#configure-rtdn
https://developer.android.com/google/play/billing/rtdn-reference

Transaction fees for Google Play using Stripe Connect as intermediate between users and groceries

I want to allow my users to pay food to my business users using Stripe Connect. I never used Stripe, but by reading the Stripe documentation, this seems feasible and relatively easy to implement.
According to this Google documentation page, the purchase or rental of physical goods via a given app is not subject to their fees.
Does this imply that I will not pay any fee to Google, even if I distribute my app via Google Play?
Given your use case, you should be able to use Stripe instead of Google Play's billing system and not be subject to Google extra fees. That being said, it would depend on how you implement your app. For example, if you were to sell tokens (that were only available in-app) that could be redeemed for food, that would probably still need to use Google's billing system. You should probably write in to Stripe Support (https://support.stripe.com/contact) to talk through what you want and be completely sure.

Automating payments through paypal

I am new to e-commerce development. In my marketplace application, I have three parties involved: Me, customer(end user) and vendor. The customer pays to me for a service to be done by vendor and when the vendor completes the service, I have to transfer the payment to them. So essentially the business logic is:
Customer pays to me through paypal/credit card/apple pay etc.
I ask the vendor to serve the customer.
When customer confirms the service, I pay the vendor's share.
Customer may also ask for a cancellation.
So, I thought to use braintree to collect the payment from customer, but I am not sure how to transfer the vendor's share automatically on a certain day of week? So for example, suppose on every Monday, I want my system to go through the completed services and transfer the vendor's share. Assuming each vendor has got a paypal account, can I do it through paypal? Is there a way to transfer the vendor's share from backend without asking me for the credentials or any conformation?
Thanks in advance.
Yes you can do this programmatically through REST APIs. You can do this by using PayPal's Mass Payment system. It's called Payouts when you are using REST APIs. I'm not sure if there is a Magento extension for it. You do have to be approved for it. Just go to your REST Applications and enable Payouts.

Delay Paypal payment - Braintree APIs

I am developing a website that offers car-washings in all places publicly available through geolocation. However, due to weather instability, bookings can be cancelled at any time; instead of issuing expensive refunds, I would like to charge customers only once the washing has been performed.
I would like to accept Paypal payments and was suggested to use Braintree. Do you know if it is possible to delay charges with Braintree APIs on Paypal accounts?
I use Laravel 5.1.
Thank you
I would recommend using PayPal Preapproval profiles, specifically the Preapproval API to setup the profile, and then you would use the Pay API to process payments using the preapproval key for a given customer.
This PayPal PHP SDK makes all of those API calls very quick and easy, and it's available on Packagist so you can load it up in your composer.json for Laravel and be running in no time.
It has samples and empty templates for you to work with to make the Preapproval and Pay calls.

Paypal delayed chain execute payment to specific receiver?

I'm working on a Magento marketplace where the client would like to use paypal delayed chain as payment method. Here Client will hold the vendors payment for 15 days and then execute payments. The scenario is Client don't want to hold payments for highly credible vendors. He wants to pay them right away. But in delayed chain, we can't execute payments based on vendors. When the time comes to pay vendors, all vendors will be paid at once based on transaction id or pay-key which used to create payment.
I need to implement this scenario in Magento. Does anyone have solution on this potential issue?
After digging deep about this issue, I found that paypal doesn't support what I asked from their API or the API is still isn't matured to accommodate the need. So we went with another solution to overcome this problem. Solution is not efficient but it's the only working solution as of now.
We have to go with checkout by vendor, so that we can execute payment based on vendor since each order is associated with a vendor.

Resources