Coder Social home page Coder Social logo

Comments (7)

craigchristenson avatar craigchristenson commented on August 11, 2024

from woocommerce-2checkout-api.

xnau avatar xnau commented on August 11, 2024

I'm having this problem as well. The plugin as been working great for months, now suddenly I get the "Bad request - parameter error" message when I try to check out.

Looking at the API log, I see:

2018-01-18 07:02:12 AM Authorization No Items Selected. Yes Bad request - parameter error

A successful transaction logs like this:

2017-12-08 11:39:40 AM Authorization [ Item Name : 4754 Item Price : 10.00 Item Type : product Item Quantity : 1 Is Tangible : N Is Recurrent : null Recurrent Duration : null Startup Fee : null Product Id : Item Description : ] Yes orderNumber : 2064223527 transactionId : 2064222536

This all suggests that what is missing is the purchased item info. All my products are not tangible, so I have never needed to send an address for my customers: just a name and email.

Did something change in WooCommerce to break this? I did update it recently...I keep it up to date.

from woocommerce-2checkout-api.

xnau avatar xnau commented on August 11, 2024

OK, Solved the problem, and you were correct, Craig, including the buyer's billing address info allowed the transaction to complete.

I had set up a filter that allowed people to check out without putting in their address (since I didn't need it) but 2Checkout requires it.

from woocommerce-2checkout-api.

hassansarwarlive avatar hassansarwarlive commented on August 11, 2024

@xnau how did you create that filter? I just finished setting up 2checkout with woocommerce. I am testing it myself, I have put in the address and everything still I get the parameter error with 'No Items Selected' in error log.

Can you please guide me on how to fix this?

from woocommerce-2checkout-api.

zmaniar avatar zmaniar commented on August 11, 2024

Hello. I have added all the billing details but still getting this error
Bad request - parameter error

Api call shows:

Call Timestamp API Call Attempted API Call Body Key / Token Match Response Body to Seller
2020-01-29 11:38:24 AM Authorization No Items Selected. Yes Bad request - parameter error
2020-01-29 11:38:22 AM Token   Yes 747be12b-f9ca-4eeb-ad2a-805d4dd9b8f3

from woocommerce-2checkout-api.

mcy260 avatar mcy260 commented on August 11, 2024

where do you check those errors? I got the same Bad request - parameter error but i have no idea where to look

from woocommerce-2checkout-api.

mtachaudhary avatar mtachaudhary commented on August 11, 2024

Hello. I have added all the billing details but still getting this error
Bad request - parameter error

Api call shows:

Call Timestamp API Call Attempted API Call Body Key / Token Match Response Body to Seller
2020-01-29 11:38:24 AM Authorization No Items Selected. Yes Bad request - parameter error
2020-01-29 11:38:22 AM Token   Yes 747be12b-f9ca-4eeb-ad2a-805d4dd9b8f3

Have you resolved this issue? I am also facing the "Bad request - parameter error". Also please let me know, how can I check the API call/log?

My 2Checkout account is not activated. May be this issue is due to the account activation. I just want to test the 2Checkout, is there any way to test it?

Thanks

from woocommerce-2checkout-api.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.