Woocommerce default Paypal Express plugin Error - [PAYMENTREQUEST_0_SHIPPINGAMT] => 9.949999999999999 - php

I am using the default Paypal Express for woo commerce plugin on my website at dollardecor.com.au, however whenever I try to pay via paypal I get the following error
PayPal error (10427): An error (10427) occurred while processing your PayPal payment. Please contact the store owner for assistance. PayPal error (10413): An error (10413) occurred while processing your PayPal payment. Please contact the store owner for assistance.
On checking the paypal logs I found that though the shipping amount is set up at 9.95, the shipping amount is being passed as 9.949999999999999.
text from the log below.
[PAYMENTREQUEST_0_AMT] => 19.85
[PAYMENTREQUEST_0_ITEMAMT] => 9.9
[PAYMENTREQUEST_0_SHIPPINGAMT] => 9.949999999999999
I have disabled all plugins and checked and couldn't get rid of this error.
Kindly advise.
Thanks.

Related

PayPal Pro setup Error 10548

while paypal test checkout. I got an error mentioned below.
[TIMESTAMP] => 2017-09-22T09:01:00Z
[CORRELATIONID] => 8d454e5592202
[ACK] => Failure
[VERSION] => 65.1
[BUILD] => 36082234
[L_ERRORCODE0] => 10548
[L_SHORTMESSAGE0] => Invalid Configuration
[L_LONGMESSAGE0] => This transaction cannot be processed. The merchant's account is not able to process transactions.
[L_SEVERITYCODE0] => Error
[AMT] => 10.00
[CURRENCYCODE] => USD
I has checked for all stack answers and youtube tutorials.
I has created sandbox business account for us country, added balance, upgraded to pro, on modal in settings tab: PayPal Credit- on, login with pal - all these steps are done. copy the credential under api tab and pasted them to code you provide.
But while make payments. I got the above mentioned errors. Any help will be appreciated. Thanks!
Your account where it calls the API should be upgrade to PRO before you make the DoDirectPayment API.
This error usually occurs if you don't have a business account. You must have a business PayPal account within a PayPal Payments Pro-enabled country to use the Direct Payment API. The absence of a home or customer service phone number on your PayPal account can also trigger this error.
Solution
If you have a business account and you get this error, check your PayPal account profile and make sure it includes a home phone number or a customer service phone number. Update your profile if necessary.
https://www.paypal-knowledge.com/infocenter/index?page=content&id=FAQ1147&actp=LIST

Magento Bad Format Merchant Id error in Checkout Cart page

I recently configured a Magento based site(CE-1.9.2.4) with Paypal with client's Business Paypal account credentials.
Now when I add product to cart and provide the "Estimate Shipping" values in cart page, I get below error:
{"http_status_code":400,"http_status_message":"Bad Request","internal_message":"Bad format: merchant.id"}
Is this error related to Paypal, but I passed credentials correctly into Magento Admin and it shows no configuration error in there.
Anyone please help me out here.

Paypal Website Payments Pro transaction not getting listed in the Sandbox account

I have created a simple PHP App for requesting(nvp format) paypal to accept payment from my customers through on-site payment with credit-card, even though when I test it with dummy cards & I get success message in the response, the transaction is not getting listed in my sandbox account "Recent Activity" page or "View all transactions" or "Payments Received".
My Payment type is sale and I am calling "DoDirectPayment" method.
I have already enabled "Payment Pro" for my sandbox account & also the account is "Verified", still transaction entry not getting listed.
Can somebody guide me with a detailed explanation about the issue that might be causing this ?
I am using this as my reference.
https://github.com/GeorgeOld/Paypal-NVP-PHP-code-examples

Authorize.net payment gateway not working in WooCommerce

I am developing woocommerce project . I used Authorize.net payment gateway plugin for that.
payment and order placings are working fine.But after get payment that url not redirect to success page .
I want show order info after payment completed. May be my x_relay_url is wrong.
I don't know how to give that .please tell me One example url for that and solve this problem to me...
after payment completed it's showing like this message..
An error occurred while trying to report this
transaction to the merchant. An e-mail has been sent to the merchant informing them
of the error. The following is the result of the attempt to charge your credit card.
This transaction has been approved.
It is advisable for you to contact the merchant to verify that you will receive the
product or service.
NOTE: IT IS IN TEST MODE.
thanks & regards..
This error typically occurs when the payment gateway is unable to POST to the relay response URL you configured. Since the POST is coming from Authorize.Net, the URL must be publicly available.
Also, if you are testing in the sandbox, you should not send transactions in Test Mode. Transactions submitted with test mode only confirm if the API Login and Transaction Key are correct, and returns OK but does not actually process and store a transaction.

Paypal Dodirect without costing my client

I have coded first time paypal doDirect Method and it is working fine on sandbox mode but in order to make it live it gives the following error:
[L_ERRORCODE0] => 10501
[L_SHORTMESSAGE0] => Invalid Configuration
[L_LONGMESSAGE0] => This transaction cannot be processed due to an invalid merchant configuration.
[L_SEVERITYCODE0] => Error
So I then googled and found that my client needs to have a agreement which the Payments Pro costs $30 per month.
Is there another way to do it without it costing me this money?
You could use Payments Advanced for only $5/mo instead of $30/mo.
If you're a high volume I could get you setup with PayFlow (the new Payments Pro) without any monthly fee. If you're doing $5k/mo or more in volume contact me directly and I can get you hooked up.

Categories