Integrate Quickbooks as a payment method on website - php

I need to integrate QuickBook as a payment method with a website. For this, I would like to connect to QuickBook and create an invoice or payments links and redirect customers to them as I do it with Paypal and after catch the webhooks from QuickBooks about payment status.
Here is a page for paying with Quickbook (You can make a payment link manually in your account):
I want to create such links with api for php (laravel). There is no api for directly creating payment link though api, but there is an option to create invoices with link. I've managed to create such invoices calling the QuickBooks api through Postman but that link doesn't work. It opens an error page.
Here is that page:
There is no much information about paying on the website with QuickBooks, so I am not quite sure is this task a achievable. But if anyone did something similar or has some experience with integration QuickBook to e-commercial websites, please give me a hint

The thing was that the QB has an error in sandbox mode. If you try to call this route in live mode everything will work. Here is a link for my issue on the Intuit Developer Forum https://help.developer.intuit.com/s/feed/0D54R00008D4MIwSAN

The first thing you want to do is set up your application on Quickbooks Online. Here is a Quickstart guide: https://developer.intuit.com/app/developer/qbo/docs/get-started
Then you should consider using the PHP client library for OAuth: https://developer.intuit.com/app/developer/qbo/docs/develop/authentication-and-authorization/oauth-2.0
Then you can start looking through the Quickbooks Online API, and see if they have API to solve your needs: https://developer.intuit.com/app/developer/qbo/docs/api/accounting/most-commonly-used/account

Related

Create a Webhook when installing an app in Shopify

I'm developing an app to sync Shopify product list with my own DB.
When a product is deleted from Shopify admin, I need to delete it in my MySQL DB.
I think I have to create a Webhook for product deletion.
I know the way to create Webhooks in Shopify admin page, but I'd like to create it when my app is installed.
Please give me your answer if you have any idea.
I've tried to find answers for this problem, but couldn't find any solution.
I suppose you are looking for automated Webhook Subscription via API. Yes, Shopify does allows that.
You need to Subscribe to the hooks via API call when you app is being installed or autorized by the Shopify store. Please check the Documentations below.
For understanding the webhooks and behaviours: https://shopify.dev/apps/webhooks
Apis for Webhook Subscription: https://shopify.dev/api/admin-rest/2022-10/resources/webhook

Magento 2 Braintree Card Payment integrate with react native app

I try to use Braintree Card Payment extension from Magento 2, but I can't find a solution. If I use card payment from magento web theme, it works fine, but if I make endpoint requests from Postman I receive the following error message:
Transaction has been declined. Please try again later.
I use magento 2 endpoinds:
/rest/V1/carts/mine/shipping-information and /rest/V1/carts/mine/payment-information
I read that if you want to integrate braintree card payment for native mobile app (frontend), you need to create a custom module programatically on backend.
Someone else has done this and can help me with an implementation or some steps to follow?

PayPal REST API Authorise Payment PHP

I've been searching the web for a solution to this or just some decent documentation but I am at a loss.
I am trying to authorise payments made from an app using Paypal Cordova SDK which is similar to PayPal IOS SDK.
I have a server running PHP 5.4 and I have installed using composer the PayPal REST API SDK onto my server. I need some help or a small sample script to show me how to authorise a payment made to my server (For such a big company PayPal's documentation is really hard to navigate, search or use.).
My other question is where do I put the link to authorise payments (IP/authorise.php). Do I attach it to my developer portal on PayPal some how?
Many Thanks

Intuit QuickBooks Merchant Service + php

I try integrate my web applacation with Intuit QuickBooks Merchant Service.
I found this https://idnforums.intuit.com/messageview.aspx?catid=50&threadid=11829
But I don't understand what is it $connection_ticket, where I can get it?
Thanks.
A "connection ticket" is a token you get from Intuit, which allows you charge credit cards through their API. It's sort of like a username/password, or an OAuth token if you're familiar with that.
If you read the documentation included in the example scripts, you'll find the documentation says...:
IMPORTANT * In order to use this example, you'll need to go through the Intuit application registration process first! This is documented
here:
http://wiki.consolibyte.com/wiki/doku.php/quickbooks_qbms_integration
If you then follow that URL, you'll find instructions to get your connection ticket.
The easiest way to get a connection ticket is to use DESKTOP mode. HOSTED mode will work too, but it's much more difficult to get a connection ticket in HOSTED mode.
Here's a direct link:
QuickBooks Merchant Services - get your connection ticket in DESKTOP mode
I went through the same hazzle a few years ago. It is not an obvious issue. A connection ticket is actually an approval from the Intuit Payment underwriting to allow your app integtration with the Payment gateway. In my particular situation, I was a merchant account holder which allowed me to accept credit card using sent QuickBooks Online invoices and the use of a virtual terminal at the Intuit Merchant Solution website.
But to my surprise, this does not mean that you get automatic authority to develop apps to do the same thing. In my particular scenario, I want to link my website shopping cart to Intuit Payments. But at the end of hundreds of hours invested in this development work, I was decnied a connection ticket.
Again, this happened about 4 years ago. I am not sure if now days there are flexible about these things or have finally come to trust their own SKD or API tools issue to developers.

how to test clicknbuy?

I want to test clicknbuy payment gateway like paypal sandbox? Is that possible ? If yes, how ?
You can test Paypal by using different settings for the script. Instead of using the "real" api you create a developer account. That allows you to have a fake account and fake usernames to simulate payments. When you're done with everything you can switch to using the normal api instead of the test server.
Base site: https://developer.paypal.com/
More information at https://www.x.com/community/ppx/testing
Click on "Testing Web Checkout APIs"
Testing Web Checkout APIs PayPal Web
Checkout APIs includes Express
Checkout, Website Payments Pro, Button
Manager, Mass Pay, Recurring Payments,
and all of the Information APIs
Login or sign-up on
developer.paypal.com Create your test
accounts - you can learn more about
this in the Getting Starting Guide.
Get you API Credentials for your
Business Test Account Code and Test
Read the Documents Get Sample Code
Download SDKs
Use the correct endpoint
Go live :)

Categories