WePay payment gateway integration in PHP - php

I want to integrate WePay payment gateway for my site. I have download SDK from www.wepay.com and integrate it as the API tutorial given in WePay, i am done till account creation and API call, but stuck in checkout page. My checkout page goes blank, i am not able to find what the actual problem is?
If anybody is familiar with WePay payment gateway then, please help me out from this problem.

I would suggest you to start with trying to get a decent error message. You can check what they mean here. Use the developer tools like the network tab in Chrome, or Firebug to see how the requests are send and what errors are sending back. An API call is based on an HTTP request so is easy to monitor. It can be that the user is not good or the token or a million other things.

Related

Integrate Quickbooks as a payment method on website

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

How to correctly integrate PayPal's API with paypal payments pro?

I just finished building a donation form on a client's website, which processes payments through PayPal's classic api. It works fine in Sandbox mode, but I'm getting a 10501 - This transaction cannot be processed due to an invalid merchant configuration. error.
I know that this error is caused by PayPal payments pro not being enabled on the account the API is trying to access. That is were I'm somewhat confused. The account I'm connecting this donation form to is subscribed to Paypal Payments Pro.
When I first encountered the 10501 error, I thought that PayPal may require myself to log in and enable the Payments Pro service. I found a "get started" button under the payments pro section of the site, but when I click it, I'm taken to a page which only provides a link to the API documentation.
I've never worked with PayPal's API before or launched a live paypal application. I'm hoping someone can point me in the right direction.
NOTES
Just to make it clear, the PHP donation form DOES work in PayPal's sandbox mode
I have acquired the correct API keys from the live account and I know for a fact that I did not mix up the live credentials with the sandbox.
this donation form is on a website, not an mobile app (do I still need to register it as a paypal app?)
Thanks
A lot of times what happens is that PayPal enables the Virtual Terminal for you, but not the DoDirectPayment API. I would just give them a call and let them know you have Pro, but your DDP calls are resulting in this error, and they can probably get it enabled for you.
It's also possible that your version of Pro requires you to use the PayFlow API instead of DoDirectPayment. That's something they can tell you when you call them.

Paypal plugin integration issue

I am using spinin/phonegap-paypal plugin for my phonegap android app. I downloaded the plugin, integrated with the mobile app, then tried using the payment on sandbox mode. I was able to do the payment till yesterday. But suddenly it has stopped working. From my app I am able to login to the Paypal account and go to the dashboard, but when I click on 'Send Payment' , I get an error- 'Payment Failed: System Error, Please try again later '. Can anyone please tell me what must be going wrong? Alteast can any one let me know what are the possible reasons for this to happen, so that I can check each of the points on code level.
Thanks in advance.

Paypal iOS SDK and php

How to process in server when payPalPaymentViewController:didCompletePayment completion in iOS paypal SDK. Please give me a sample php code to process completedPayment.confirmation details. I am not familiar with php. So please give me a guideline to process paypal request in php server. I googled a lost but i can't find any simple solution to process paypal iOS request in php
You can find sample code (cURL) on how to verify a mobile payment here. Once you validate that the payment is completed, you can find other RESTful sample calls here to do the server side integration. You can select the appropriate programming language from the top of the page.

Using Paypal Express Checkout in appcelerator titanium

I am developing a mobile commerce application in Appcelerator Titanium and using Paypal as my payment gateway. I am using the Paypal's Express Checkout mechanism and doing all the Paypal interaction stuff in php scripts and calling those scripts through xhr object. My php scripts are working perfectly in the browser and payment is done displaying the thank you message, BUT when I try to call the php scripts from the app it redirects to paypal sandbox page displaying the message "Please login to use sandbox features" and nothing else.I am stuck here and can't do any advancement. It is to be noted that I am already logged in to sandbox through my sandbox account? I've spent so much time on searching this problem but couldn't get it working. Please help me what I am doing wrong here? I really need your help. Any help in this regard will be appreciated. Thanks in advance.
Have you tried using the PayPal module on the Appcelerator Marketplace? It's much easier to integrate and it's free:
https://marketplace.appcelerator.com/apps/780?693288467

Categories