Trying to find out what and format of items in the 2checkout redirect for the field "Product Provider".
I have tried a number of variations, but none work.
When I submit to 2CO I get my company name in heading so I know some info is correct.
But I get this error.
An error has occurred during checkout.
Please contact the seller and reference the error code below.
ERROR CODE:PE104
Stuck on what I am doing wrong.
Thank you.
Michael
http://help.2checkout.com/articles/Knowledge_Article/Error-Code-PE104
Hi, yes I found that link also.
Unfortunately it is not helpful, what I am looking for is the documentation on how to fill out the 2CO field "Product Provider.
Well you need to fill it out so that its value matches one of your 2CO product IDs. Is that not working? What have you tried?
Hi, sorry for delay reply.
I setup a product in 2co.
The array in Product Provider that I used is just the product ID so only have that in it.
So it looks like this
1234567
Do I need something else in array?
If they'd not working try putting it in square brackets to make it an array maybe?
My error in explaining.
The sample says this.
The products array provider, each array item is a product array which may contain the following values:
type,name,quantity,price,tangible,product_id,description,recurrence,duration,startup_fee
so 1234567 is product_id so I have in the space just 1234567.
So I dont really know how the format should be.
I tried entering ,,,1234567 and variations.
There really needs to be a better documentation. Actually there is none for the 2CO payment option.
Well then should probably be {"product_id":1234567} or ["product_id":1234567] I'll look into it later.
Hi,
I tried variations of same. Nothing worked so far.
I appreciate you looking into this for me.
Set the "debug" parameter in your 2CO Redirect action to Enabled, put a debug action after it, and paste the results here.
Did you return $product in the PHP block?
Hi
Of course I did not do that🙂
It works fine now.
Thank you so much for helping and guiding me.
Michael