Page 1 of 2

Help with Shop/Cart- and PaymentMadeSimple module

Posted: Thu Feb 19, 2009 7:13 pm
by Trenia
Hello people, and especially to Duketown for his great efforts with these modules :)

I am hoping you (Duketown, or anyone else for that matter) might be able to find some time to help me out a little, in order to get the Cart-/Shop- and Payment-MadeSimple modules working on my site. I am running CMSMS 1.5.2 and the modules in question are all latest versions.

I want to mention that I first tried installing the Products/Cart/Orders-combo, but that didn`t work well. I got errors installing both the Orders and Products-module. So I gave up and they are now removed from my system (just to let you know).

I managed to put a sample product on my test shop site, but after entering all my info to purchase it, I`m getting this message from PayPal:

"Return to Merchant

We cannot process this transaction because there is a problem with the PayPal email address supplied by the seller. ......"

I know that the email address is set correctly in the module/cms, and that it is my primary address for my PayPal account. I am guessing that some other settings needs to be done in my paypal-account, in order for everything to work correctly? If so is the case, which settings do I need to address, and what shouLd the settings be?

For example: which url should I set to be my instant payment notification url?

Thanks

Re: Help with Shop/Cart- and PaymentMadeSimple module

Posted: Thu Feb 19, 2009 8:33 pm
by Duketown
Trenia,

Thanks for the compliments :).
Have you made any changes to the parameters of PayPal after the installation of PaymentMS?
For example, parameter business_email must contain your primary/secondary address for your PayPal account. I've noticed that sometimes copy/past includes controle characters. Have you done a copy or realy manually typed address?

What environment are you running test or live?
If test, did you request for the sandbox (test environment at PayPal) for an account? You will get another email address.

If the environment is live: are you selling to yourself? I've never tried that before and logically thinking, I think there might be a problem there.

Duketown

Re: Help with Shop/Cart- and PaymentMadeSimple module

Posted: Thu Feb 19, 2009 9:12 pm
by Trenia
Thank you for your quick response.

I`ve had this PayPal account for a while, and have not made any changes since my last "project". Then it was working alright, but then I didn`t use CMSMS. It is a verified business account, and both email addresses are verified as well. I checked it now, and I can`t see anything wrong.

I am running it in a live environment, but are attempting to buy from a different email address (I have to Paypal accounts. One is a regular private non-commersial account, and the other is the business account. They use different email addresses.). So I am not selling to myself I guess. This procedure has worked before so I don`t think that is the problem.

One more thing. The user and the seller both get the email stating that an order has been made/received. What should my IPN return url be?


POST UPDATE: also look at this topic, as it might be related: http://forum.cmsmadesimple.org/index.ph ... 142.0.html

Re: Help with Shop/Cart- and PaymentMadeSimple module

Posted: Fri Feb 20, 2009 5:27 pm
by Duketown
Trenia,

With selling to yourself I mean: check out after you have added some products to your cart. You will get the option to enter your customer information. You enter your own name, address and email address etc. Press continue. Select PayPal as payment method. On the order confirmation press confirm.
The email address entered on the first page will get a orderconfirmation. The email address in the options of module CartMS will get also a mail stating that a new order has been entered. I guess that this email address is the same as entered on the first checkout page.

Have you set PayPal parameters in PaymentMS the environment to live or test?

After the confirmation, do you get the correct PayPal screen?

Duketown

Re: Help with Shop/Cart- and PaymentMadeSimple module

Posted: Fri Feb 20, 2009 6:09 pm
by Trenia
Duketown

As I`ve already told you, I am running a live environment.

I don`t need to test it again to answer your question about the email addresses being the same, because I know they are not. When I enterered my mail as the buyer, I used myemail@gmail.com. My CartMadeSimple mail settings uses myshop@mysite.no. I get the confirmations at both addresses....

On another note, I have to ask you one more time about the IPN return url. What should this be? The complete url string to the backend where my CartMadeSimple is located??? I guess this has to be set correctly as well as anything else.

Re: Help with Shop/Cart- and PaymentMadeSimple module

Posted: Fri Feb 20, 2009 7:20 pm
by Duketown
Trenia,

Apparantly I misunderstood what you had written with regards to live or test.
I have just made a test in a live environment. I have trouble too.
The gateway is not prepared to handle any IPN information at this moment. So I'm sorry, but for now I can't help you out.
Maybe someone else following this thread can help you/me out?

Duketown

Re: Help with Shop/Cart- and PaymentMadeSimple module

Posted: Fri Feb 20, 2009 11:23 pm
by Trenia
Yeah. It would be great if someone could come up with a solution for this problem.

Ideas/solutions anyone? It will be greatly appreciated. Thanks :)

Re: Help with Shop/Cart- and PaymentMadeSimple module

Posted: Tue Feb 24, 2009 2:14 pm
by Trenia
Bumping this one up again.

I guess there must be a lot of CMS users who are interested in finding a way to make these modules working in a live environment. So if anyone have come up with a fix or are attempting to fix it, it would be very nice if you could share it with the rest of us. Thanks.

Re: Help with Shop/Cart- and PaymentMadeSimple module

Posted: Sun May 10, 2009 1:21 pm
by dikruo
Bumping the subject again.
I have the same problem as mentioned above.
I'm using two different email adresses, both with a paypal account connected to it.
I'm trying to look up the form that is actually posted in HTML format to PayPal, through the submit button in CartMadeSimple, but i can't find a way to read the page-code.

If there is anyone with a solution, :)

Thanx
Matthijs

Re: Help with Shop/Cart- and PaymentMadeSimple module

Posted: Sun May 10, 2009 7:37 pm
by eddie67
I had the same problem too..

The problem (it seems, I am not an expert with php/mysql) is when I edited the Paypal-address in the admin settings, it was not "saved", so that the Paypal business address was actually not set.

The solution for me (or rather a hack) was to edit directly in the file gw.paypal.php (in the modules/PaymentMadeSimple folder).

At line 151 you will find:
$this->add_field('business', 'yourmaill@domainl.com');

-- Where you change to your Paypal bussinessadress.

Works for me..

Eddie.

Re: Help with Shop/Cart- and PaymentMadeSimple module

Posted: Wed Jun 17, 2009 10:25 pm
by Duketown
All,

New version 1.0.4 solves the problems, in my view :D, mentioned in this thread.
See: the forge.

Duketown

Re: Help with Shop/Cart- and PaymentMadeSimple module

Posted: Wed Jun 17, 2009 10:51 pm
by Jeff
Duketown,

Why make the user guess what part of the path it is?

Re: Help with Shop/Cart- and PaymentMadeSimple module

Posted: Wed Jun 17, 2009 10:57 pm
by Duketown
ajprog,

It seems that various installations work in different ways. I only put more flexibility in the coding so also non PHP knowledgeable person can make use of this module as well.
I have been testing this with several providers and can't duplicate the error as stated by a number of people.

Have you got a working version? Happy about your site? May we know your site?

Duketown

Re: Help with Shop/Cart- and PaymentMadeSimple module

Posted: Wed Jun 17, 2009 11:05 pm
by Jeff
Duketown,

I don't have any live sites I have just been working with it on my test sites to see what it will do, and how to set it up.

You haven't made it easy for non-PHP since they won't off hand know what value to use so they will guess, like I did. Or they don't know about array numbering and will change it to 2 because it is the second part of the filename.


If you put in the wrong number the module brakes completely and you can't even get it back to change the value.

Re: Help with Shop/Cart- and PaymentMadeSimple module

Posted: Thu Jun 18, 2009 12:05 am
by Jeff
Trenia,

I am going to try and setup something for Paypal IPN next week. I will let you know when I have something for you to try.

Jeff