Amazon Pay on Woocommerce error in Sandbox mode (InvalidOrderReferenceId) - wordpress

I installed the Amazon Pay plugin on my WordPress/Woocommerce website, left in in Sanbox mode, created a Sandbox test account and when I run a test transaction, I get a message that states "Invalid Payment Method"
When I go to the Woocommerce log, the error that I find is:
<ErrorResponse xmlns="http://mws.amazonservices.com/schema/OffAmazonPayments/2013-01-01">
<Error>
<Type>Sender</Type>
<Code>InvalidOrderReferenceId</Code>
<Message>The OrderReferenceId S00-0000000-0000000 is invalid.</Message>
</Error>
<RequestId>646d0e3e-b603-420d-8178-ad20690fee41</RequestId>
</ErrorResponse>
Any ideas? Thank you!

Please follow the Integration guide: https://developer.amazon.com/docs/eu/amazon-pay-onetime/intro.html
You would have to use an Amazon Generated Order ID from the Address widget. Please obtain it using the function:
onOrderReferenceCreate: function(orderReference) {
// Here is where you can grab the Order Reference ID.
orderReference.getAmazonOrderReferenceId();
},
You can use the orderReference ID anywhere from this point. Since, you are using WooCommerce SP, you can follow the integration guide too.
Thanks.

Related

Paddle - The checkout id must be a valid checkout id

I'm trying to test paddle subscriptions on localhost. When I use the product id and vendor id from an example git repo everything works.
When I use my own vendor id and product id (plan id) I get a 400 error:
{"errors":[{"status":400,"code":"validation","details":"The checkout id must be a valid checkout id.","source":{"pointer":"\/checkout_id"}}]}
I have created a subscription on the portal which gives me a'Plan Id'. Is the plan id the wrong id to be using here?
Paddle.Checkout.open({ product: 752932 });
I had the exact same setup and symptoms. I assume you're using the Paddle sandbox since you're testing on localhost. What helped me is that I had to add
Paddle.Environment.set('sandbox')
right above the
Paddle.Setup({ vendor: xxxx })
This did it for me, but annoyingly enough wasn't well documented at all so it took a bunch of digging.
Hope this helps you too!
Generally, this type error occurs when checkout request goes from localhost. I faced the same problem. When I test it on my hosting server, it works fine. The weghook_url should be approved by the paddle. You can set up the web hook here paddle web hook setup.

WooCommerce Amazon Fulfillment SellerSKU is invalid

I am using WooCommerce Amazon Fulfillment plugin
but when I try to Send to Amazon FBA
I get this error --> the SellerSKU for Item Id: item-1-PTCT-CC-1SM is invalid.
I don't know how to figure it out.
Can any one help me please??
Thanks
Adil
Not really sure about how the plugin works but as per the error message the SellerSku (woocommerce SKU) isn't matches with FBA product having Item Id - item-1-PTCT-CC-1SM.
You can once cross-check the SKU on both platform i.e Amazon & Woocommerce
Thanks

ccavenue - iframe method shows blank page after click the paynow button in asp.net

I am New to Payment Gateway Integration and i'm using CCAvenue iFrame method for my site. Using Query String method i sent all details like amount, merchant id, order id etc. to ccavRequestHandler.aspx.cs file.
But it shows only Blank Page without any error message.
There are all done in my testing environment and testing environment is activated from CCAvenue.
Thanks in Advance.
Finally I found the Ans...
In CCAvenue Iframe method, dont change anything in "download kit". And Use that files(dataform.htm,ccavRequestHandler.aspx, ccavResponseHandler.aspx with dll) without change anything.
Make Sure Test Environment is Activated or not from CCAvenue. if its not make call to CCAvenue they will do it. After that use test environment url(www.test.ccavenue.com/..... ) with Newly Generated Access code and Working key.
Sure U will Get the Final Result.
Hope, i will helps someone.

accessing woocommerce api in wordpress with sub directory installtion

I have wordpress installed in a sub-directory and not on the web-root. I have enabled woocoommerce REST api, but i am not able to access it. What will be my woocommerce rest api end points.
When i access using http://www.domainname.com/blog/wc-api/v1/orders
it returns 1.
When i access using http://www.domainname.com/home/wc-api/v1/orders
it returns 1.
When i access using http://www.domainname.com/wc-api/v1/orders
it gives me a message saying
woocommerce_api_authentication_error: Invalid Signature - provided signature does not match
Any suggestions or help will be appreciated. Thanks.

Not getting company info

I am new to this linkedin api. I have made a small example which is working when I am using the keyword search by using the following url:
https://api.linkedin.com/v1/company-search:(companies:(id,name,universal-name,website-url,industries,status,logo-url,blog-rss-url,twitter-id,employee-count-range,specialties,locations,description,stock-exchange,founded-year,end-year,num-followers))?keywords={IBM}&oauth2_access_token=<access Token>
But when I am searching any company info by using the email-domain search then it is giving me 403 error:
<error>
<status>403</status>
<timestamp>1432820120642</timestamp>
<request-id>XLWN5Y7T7R</request-id>
<error-code>0</error-code>
<message>Member 385883298 does not have permission to get company 66028</message>
</error>
I am using the following url for this:
https://api.linkedin.com/v1/company-search:(companies:(id,name,universal-name,website-url,industries,status,logo-url,blog-rss-url,twitter-id,employee-count-range,specialties,locations,description,stock-exchange,founded-year,end-year,num-followers))?email-domain=ibm.com&oauth2_access_token=<acess Token>
So as you have posted your answer which is related to this problem I guess you are saying that I have to be the administrator for the company page for which I am searching. As like in my above url i.e. email-domain=ibm.com. If I am wrong or not getting the things, please guide me.
Thanks
As part of the recent changes to the LinkedIn API - you are required to be the administrator of the company you are making API calls on behalf of. As a result, the company search calls are no longer openly available.
You can make a call to check whether the authenticated user is an Administrator of a given company like this:
https://api.linkedin.com/v1/companies/{Insert CompanyID here}/relation-to-viewer/is-company-share-enabled?format=json
This will return a boolean value. If true, you're good to go. If false, you'll need to get an existing company admin to grant the user company administrator status using the tools available on www.linkedin.com

Resources