X-PAYPAL-APPLICATION-ID header invalid value

  • Posts: 272
  • Thank you received: 13
11 years 1 month ago #126280

-- HikaShop version -- : 2.2.1
-- Joomla version -- : 3.1.5

Hi, I'm trying to test the paypal adaptive plugin. I've configured the plugin parameters using the test APP-80W284485P519543T

When I go buy something and click to proceed with payment I receive this error message:

The X-PAYPAL-APPLICATION-ID header contains an invalid value

What's wrong? What should I configure?

Please Log in or Create an account to join the conversation.

  • Posts: 26156
  • Thank you received: 4028
  • MODERATOR
11 years 1 month ago #126313

Hi,

When you want to use the test application id, you have to put the plugin in debug mode.
At this moment, the plugin will automatically use the test application id which is hard coded in the plugin.
In the Paypal Adaptive plugin, the "debug" option is the "sandbox" option.

Regards,


Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.

Please Log in or Create an account to join the conversation.

  • Posts: 272
  • Thank you received: 13
11 years 1 month ago #126318

I've seeted the plugin parameter to YES in debug field.

Now when I go to buy something I got this:

array(11) {
["requestEnvelope"]=>
array(1) {
["errorLanguage"]=>
string(5) "en_US"
}
["actionType"]=>
string(3) "PAY"
["currencyCode"]=>
string(3) "EUR"
["receiverList"]=>
array(2) {
[0]=>
array(2) {
["email"]=>

etc... etc... etc...


And the order is created but not confirmed. Is that right?

Please Log in or Create an account to join the conversation.

  • Posts: 272
  • Thank you received: 13
11 years 1 month ago #126322

Also the error message says:

Authentication failed. API credentials are incorrect.

Please Log in or Create an account to join the conversation.

  • Posts: 26156
  • Thank you received: 4028
  • MODERATOR
11 years 1 month ago #126324

Hi,

So it means that your API credentials are not correct.
Please check your login and password. Are you sure you have a sandbox account ?

Regards,


Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.

Please Log in or Create an account to join the conversation.

  • Posts: 272
  • Thank you received: 13
11 years 1 month ago #126369

Thanks Jerome,

I've reviewed the sandobox credentials, my fault: wrong data inserted in the plugin configuration.

Now it seems work fine, tested the payment in parallel mode. Anyway the orders still results as created and not confirmed?

Is that right or something misconfigured? In the Adaptive plugin it's setted:
Invalid status > cancelled
Pending status > created
Verified status > confirmed

Please Log in or Create an account to join the conversation.

  • Posts: 26156
  • Thank you received: 4028
  • MODERATOR
11 years 1 month ago #126372

Hi,

Paypal Adaptive, like Paypal standard uses the IPN system.
If your website is not accessible paypal won't be able to trigger the IPN callback page and so, the plugin can't know that the order have been confirmed.

If you have configured a paypal IPN url in your paypal account, it is possible that the Paypal standard plugin is retrieving the paypal call but it can't validate the order because it is an order for "paypaladaptive" and not "paypal".

Regards;


Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.
The following user(s) said Thank You: deltafidesign

Please Log in or Create an account to join the conversation.

Moderators: Obsidev
Time to create page: 0.051 seconds
Powered by Kunena Forum