X-Cart payment problem - vague error message - php

First of all, I'm not entirely sure stackoverflow is the place for this question, but registration on the x-cart forums is broken (you can sign up, but don't have permission to see anything,) google wasn't helpful and I've nowhere else to turn!
Anyway, I'm trying to use the directone payment method with x-cart, and it returns this error after checkout:
Order processing error
Order declined.
Review your data or contact the store administrator.
Reason: Response: System Error
Go Back
Not very helpful. Just wondered if anyone could at least point me in the right direction? Is there a more detailed log kept somewhere? Is there a great font of knowledge I should know about for things like this??
Thanks in advance,
John.

Ok, it was fairly simple - for x-cart to integrate with directone, I needed to setup a password and IP for x-cart to access the directone API. All working now.

Related

How to Activate IMEI place order service in DHRU API

Hello everyone I am developing a website that provides unlock code to mobile user who request. but i am new in druv api so please can anyone provide a documentation or guide to use it.some error are listed below,
i am using dhru unlocking API for unlock mobile but getting error when going to place imei order by using curl.
error is.
{"ID":"1234","IMEI":"111111111111119","ERROR":[{"MESSAGE":"ValidationError123","FULL_DESCRIPTION":"Service Not Active"}],"apiversion":"3.1"}
Realize this is a bit old, but it will probably help someone I'm sure. Here's the link to the api stuff http://kb.dhru.com/Dhru_Fusion/Developer_Resources
Also, I found it by googling "dhru fusion api" wasn't all that hard to find lol probably why this topic never got answered.

Paypal error - getTransactionFee method does not exist

I have a custom website with a custom shopping cart built in. I am using the Paypal API Standard Payments method to send the shopping cart information over to Paypal & then returning on a return URL to my order_process.php page. Once it returns to my website, the code updates information in our database to sign members up for events, give them a membership etc.
Everything was working fine until Paypal flagged our account due to the high increase in payments coming in within a short period of time.
I spoke with a supervisor over at Paypal & they lifted the flag from our account.
We did not change anything on our end but now the site is not working properly anymore. It sends the information over to Paypal, takes the payment successfully & comes back to our site.
Once it gets to the line in code
$result = execute_payment($_SESSION["payment_id"], $_GET["PayerID"]);
It crashes with an error: "Method PayPal\Api\Sale::getTransactionFee() does not exist"
I've spoken to Paypal numerous times and they keep saying they will call me back with no return phone calls. I've extensively Googled this error and cannot find anything on this topic. I'm at a lost of what to try next and this is causing a lot of disruption because we are processing a high amount of transactions. I switched the site over to a development domain and tried on Sandbox mode and am still receiving the same error message.
Any help at all will be greatly appreciated.
Our site has just started displaying this behaviour too, I don't understand what is going on. It was working perfectly this time last week.
Maybe there is a new version of the PayPal PHP SDK I need to download!?!?
Help!
-- UPDATE: found this on the PHP SDK wiki: "Seeing this error: 'Method PayPal\Api\Sale::getTransactionFee() does not exist' in paypal/vendor/paypal/rest-api-sdk-php/lib/PayPal/Common/PPReflectionUtil.php:73, Please upgrade the SDK to latest version v1.2.1."
See https://github.com/paypal/PayPal-PHP-SDK/wiki
I've downloaded the new SDK and am integrating it now. Will update when done ...
-- Another Update: Updated our test site to use version 1.2.1 of PHP SDK, and everything works fine against the sandbox. Not sure which language/SDK you're using, but might be worth an update?
I just spoke with an engineer over at Paypal. Apparently they updated some of their code and are aware of this issue. They are currently working on a fix to the problem.

PayPal Express Checkout Instant Update not updating shipping

I am using the Paypal Express Checkout and everything working good except the shipping carrier not being updated when the Callback is being called.
I can verify the callback is being called (call is logged).
When Paypal call the callback URL with the customer shipping country I return the following values.
METHOD=CallbackResponse&OFFERINSURANCEOPTION=false&CURRENCYCODE=USD&TOKEN=EC-5Fsdf5523823&LOCALECODE=en_US&L_SHIPPINGOPTIONNAME0=USPS&L_SHIPPINGOPTIONLABEL0=First+Class+%283-7+Days%29&L_SHIPPINGOPTIONAMOUNT0=0.00&L_SHIPPINGOPTIONISDEFAULT0=true&L_TAXAMT0=0.00&L_INSURANCEAMOUNT0=0.00&L_SHIPPINGOPTIONNAME1=USPS&L_SHIPPINGOPTIONLABEL1=Priority+%282-3+Days%29&L_SHIPPINGOPTIONAMOUNT1=7.95&L_SHIPPINGOPTIONISDEFAULT1=false&L_TAXAMT1=0.00&L_INSURANCEAMOUNT1=0.00&L_SHIPPINGOPTIONNAME2=UPS&L_SHIPPINGOPTIONLABEL2=Next+Day+Air&L_SHIPPINGOPTIONAMOUNT2=39.95&L_SHIPPINGOPTIONISDEFAULT2=false&L_TAXAMT2=0.00&L_INSURANCEAMOUNT2=0.00
The Callback message is being echo'd through PHP (I even tried save this as a txt file and point the callback URL to this file), even then Paypal doesn't update the Shipping Method.
I also changed CALLBACKTIMEOUT to 6 seconds but it doesn't matter. I am using HTTPS and also tried it with normal HTTP.
I am testing this in sandbox mode.
Anyone could help me out? I am really stuck here and I have been searching for similar problems but couldn't find any.
For your information I followed this Paypal guide : https://developer.paypal.com/docs/classic/paypal-payments-pro/integration-guide/WPInstantUpdateAPI/
I also checked if I am returning all the required fields as described here :
https://developer.paypal.com/docs/classic/api/merchant/Callback_API_Operation_NVP/
I hope someone can help me out, thanks in advance!
UPDATE
I try the NO SHIPPING OPTION
METHOD=CallbackResponse&NO_SHIPPING_OPTION_DETAILS=1&CALLBACKVERSION=95.0
Paypal responds with 'doesnot ship to this location. Please use a different address.'
So the response url is working, the problem is when responding with other shipping options.
Regards,
Kuroudu
I was having the same problems as you, but then I tried the example code from the PayPal Instant Update integration guide and added it as a text file on my server:
METHOD=CallbackResponse&OFFERINSURANCEOPTION=true&L_SHIPPINGOPTIONNAME0=UPS+Air&L_SHIPPINGOPTIONLABEL0=UPS+Next+Day+Air+Freight&L_SHIPPINGOPTIONAMOUNT0=20.00&L_TAXAMT0=2.20&L_INSURANCEAMOUNT0=1.51&L_SHIPPINGOPTIONISDEFAULT0=false&L_SHIPPINGOPTIONNAME1=UPS+Expedited&L_SHIPPINGOPTIONLABEL1=UPS+Express+2+Days&L_SHIPPINGOPTIONAMOUNT1=10.00&L_TAXAMT1=2.00&L_INSURANCEAMOUNT1=1.35&L_SHIPPINGOPTIONISDEFAULT1=true&L_SHIPPINGOPTIONNAME2=UPS+Ground&L_SHIPPINGOPTIONLABEL2=UPS+Ground+2+to+7+Days&L_SHIPPINGOPTIONAMOUNT2=5.99&L_TAXAMT2=1.99&L_INSURANCEAMOUNT2=1.28&L_SHIPPINGOPTIONISDEFAULT2=false
This at least gave me a CallbackResponse that finally worked which I then could update with programming to make it function the rest of the way. Spent many hours ripping my hair out. As PayPal doesn't really provide any means of debugging the CallbackResponses, I was happy to have a functioning starting point.
Hopefully this helps to point others in the right direction.

How to fix E5000: No bank links are configured for merchant [merchant_id]?

I have had implemented the Commweb payment integration 3-Party with PHP on my site where users can pay with credit cards using master card payment gateway. From last couple of days I am receiving errors from my users that the transactions are failing. I just checked it today and I found that its throwing an error which I wasnt able to find in the implementation docs. The error message returned is:
E5000: No bank links are configured for merchant [merchant_id]
Anyone has idea on how to fix this issue? Please help...
URL for ref:
.../commweb/commweb_postreturn.php?Title=PHP+VPC+3-Party&button=Make+a+Credit+Card+Deposit&vpc_Amount=4300&vpc_BatchNo=0&vpc_Command=pay&vpc_Locale=en&vpc_MerchTxnRef=TESTERAC-454545&vpc_Merchant=TESTTERM01&vpc_Message=E5000%3A+No+bank+links+are+configured+for+merchant+%5BTESTER123%5D.&vpc_OrderInfo=CommWeb+Gateway+Payment&vpc_SecureHash=B38E67D6311C43D4AF0118270DEEB20E&vpc_TransactionNo=0&vpc_TxnResponseCode=7&vpc_Version=1
I have changed few parameters in the URL text which could expose my account details.
I have the exact error but I am using ANZ eGate. Give the bank technical support team a call and find out why... in my case it's account closing due to a long period of inactivity!

Magento FedEx not working

I am really stuck with the Magento-FedEx integration process and cannot proceed further.I have filled up all the valid data for FedEx at the backend and not able to implement the same at the frontend.Its giving me the default error message that FedEx is unavailable.It would be great if anyone could help me out with this.Please find the screenshot of the issue below.In addition is there any table in database where the filled up details are getting inserted,if yes it would be great if I can know that too.
I am using the built in FedEx shipping for magento and have given the following details at the backend side for implementation.Yes,I'm using a web service for FedEx.
Is there anything else I need to do for this?Or else, what could be the reason for the issue.
There was a problem with the weights of the product created and hence after making it correct the error message is not shown now.But currently its showing that, no quotes are available for the product.Is there anything else I need to change in order to tackle this issue.

Categories