webmoney transfer api in php - php

I am trying to integrate webmoney transfer api to my website. I downloaded the sample code in php, set up the database but when I am executing, it is giving error "Purse is not activated"
Also using this method how will I exchange webmoney from buyers webmoney to merchant webmoney.In this example it is just taking static money.
Please help me to integrate this.Thanks!

You should first activate your WM wallet at https://merchant.wmtransfer.com/conf/purses.asp

Related

How to integrate payout API in Paypal with PHP application?

I am working on a PHP application for our client in which the users buy some products and earn some points. The points are then converted into cash and our client needs to send the cash back to his users through ther paypal email address.
I found that for sending money to users, paypal uses payout API through which we can programatically send the money to the users.
I have created a developer paypal account.
I found the article here for integrating the API: https://developer.paypal.com/docs/payouts/integrate/api-integration/#set-up-your-development-environment
But I am not sure how to use the code specified in the article here and I need PHP code for the integration.
Is there any way to get the PHP code for the integration of Payouts API with our PHP application?
Or
How to use the code specified in the article in our PHP application?
Any idea will be really helpful. I really dont know where to start.
Thanks in advance.
There is information on the bottom of the page you linked to on how to set up the Payouts-PHP-SDK, if you prefer ; https://developer.paypal.com/docs/payouts/reference/setup-sdk/#

sandbox error credentialas?

I am new to paypal and use sanbox.
I'm trying to implement the paypal payment platform on an online sales page and I get an error; When creating an app in developer paypal (generates my client id and its normal secret) and use it on the page I get the following error;
PayPalConnectionException in PayPalHttpConnection.php line 154:
Got Http response code 401 when accessing
https://api.sandbox.paypal.com/v1/oauth2/token.
But if I use a public credentials (taken from the internet) if it works and I redirect to paypal correctly ..
What am I doing wrong? I need something to check
Thanks in advance
Use a package like anouar/paypalpayment or omnipay/paypal and it will be much easier for you to implement it.
You need to create sandbox account, your regular account not work on sandbox, search on google for sandbox account for test, you can even create buyers with money on the account to simplify your tests.
yes friends, I understand that I had to create a Sandbox account and so I did and still does not work when creating my app.
I am creating an application in laravel and I need the cliend id and the secret of a sandbox api that is why I am trying to implement this method. I hope to see if anyone can come up with a way to solve this problem.
Why does not my account generate a valid client id? Why does any other internet work?

Nexmo SMS is not receiving in PHP

I am using NEXMO API for integrating SMS functionality for my stuff.
However I am getting the error as "Unroutable message - rejected"
I don't understand what's wrong with my source code.
Actually I want to send SMS on Indian as well as Nigerian numbers, and I would like to mention that both numbers are free of DND service.
Do you have any idea guys which the primary setting is need to do for sending SMS.
[Currently I have created a test account on NEXMO].Is their any limitations while using test account ?
This might help others if they stumble upon this problem...
If you are using a trial account, you must add test account phone numbers using the API dashboard:
API Settings -> Edit -> Add Number (bottom of page)
Cheers

I keep receive error on paypal php adaptive payment API payment "Your payment can't be completed..."

I try sample files inside latest php API for adaptive payment (1.96) and creating a primary pay. then did pay with my sandbox account and every things working fine. I use the same process and integrate API with my php application.I'm able to create primary payment and get payKey. I use payKey and do payment. I login with my sandbox personal account and click pay then see this problem:Your payment can't be completed. Please return to the participating website and try again.
Note: I did not change any config.ini information.I create multiple pre-confiq accounts in my developer and put them as sender or receiver through sample and application test.both API sample and application environment are virtual hosted on my local machine.this is paymentDetail object info
I found problem.
I was resetting test account and creating new test emails that noted on one suggested solution and forgot to replace new email in my integrated application.
by the way replacing new email solved my problem.

How to use Paypal Standard in a web application with PHP

I'm looking for a way to build a web application using paypal payments standard. I'd like the user to get redirected to paypal, then fill out their information, and upon completion, add a value in our database saying that they successfully paid. I haven't found a solution or answer to this.
I found this thread for RoR, but didn't find anything for PHP
Paypal Website Payments Standard with a Ruby/Rails application
You can see instructions for a Payment Data Transfer at PayPal's site. Basically, you post the transaction amount and an ID token to their site, the customer pays on paypal.com, and then they're sent back to a pre-defined URL on your site with the transaction details.
I used the NVP API to do that.

Categories