You are required to register before you can post. This is via a custom verification system. Please post any problems you are encountering here and I`ll do my best to respond as soon as I can. Please note that a reply WILL be posted to all queries, so do not double post. There are no guarantees
when a reply will appear but I do my best to answer all within 3/4 days max. Bumping topics won`t make the slightest difference.
IMPORTANT: Posts in English ONLY please, thank you! Any other languages will be ignored and your message deleted.
SEARCH: Use the search option to see if your question has been answered on the forum before. Or check the relevant script docs.
CUSTOMER: If you have purchased a commercial version of any of my software, using the contact option at the licence centre ensures a faster response.
AUTO DELETION: Accounts older than 5 days, with no posts or topics, are automatically deleted. Only register if you are thinking of posting.
PRIVATE MESSAGES: Private messages are currently disabled.
LINKS: Any links posted are 'NOFOLLOW' and will not be picked up by search engines.
You are not logged in.
The site I was working on during beta testing was working fine. I haven't gotten around to edit the script until recently. I try to do a sandbox checkout and it seems to go smoothly until I click 'pay' in the paypal sandbox. Paypal then confirmed my purchased and it redirects back to the website but I get a gateway error. This is the message.
Gateway Error
Unfortunately the payment gateway has refused to respond in the allocated time.
Please contact us as soon as possible if another e-mail doesn`t arrive within 2hrs.
We apologise for any inconvenience.
Kind regards
Store
I've checked my sandbox paypal account and it seems the payment as gone through. However, under admin page, there is no record of the item purchased. The admin got an email stating this.
Hello,
A transaction has occured from your store that should be investigated.
This may be due to a payment from an unverified account, in which case the buyer
does not have a verified Paypal account and the system has rejected the payment.For more information check the following log file:
logs/paypal-5V852556L49413453.txtor log into your Paypal account for more information:
http://www.paypal.comIf you are testing, it may be that your Paypal settings or cart setup isn`t
configured correctly. Check your setup.If you are in test mode, try a live payment to rule out the test server isn`t
returning an invalid response.Kind regards,
------------------------------------
Store
http://domain.com/productsVisitors IP Address(es): 192.168.1.1
----------------------
Free PHP Shopping Cart Powered by Maian Cart
http://www.maiancart.com
Settings in admin, I have set the sandbox email address and check the 'test' button. I am still on 2.03 and noticed there is an update to 2.04. That shouldn't be an issue? Was there a server setting I must enable? The installer would have prompt me to fix it if there were during installation, correct?
Offline
It seems another person was having the same issue as me. I did turn on the ipn and set the correct url for it as well. But the purchase was never created and no email was sent other than the one I mentioned above.
http://www.maianscriptworld.co.uk/forum/viewtopic.php?id=2581
settings at post#16
Offline
HI Duceduc
Aside your problems with paypal.
I would advise you upgrade to 2.04 in the first instance.
David has fixed a number of bugs in this new release and it seems a pity for you to go through a lot of setting up etc, only to find that you do need the upgrade afterall.
FWIW:
I have just tested a paypal sale with 2.04 on sandbox and live and can confirm both went through fine.
tested on IE8
Offline
I know I will have to. Since the script was heavily modded, I was hoping to test it out first and show client how it looks before updating. Thanks.
I am looking at the upgrade tab under docs and I see it only upgrade from 2.02 -> 2.0.3. How can I get the 2.0.4 upgrade file?
Last edited by duceduc (01-03-2012 09:46:27)
Offline
ok, Im at 2.0.4 but am still having the same issue.
Offline
GWP:
By any chance for your sandbox paypal seller account, do you have the ipn set as well? On mine seller account, sometimes I cannot view the 'profile' page to set the ipn url. I get an error. At any rate, I did set the url in this format.
http://www.yoursite.com/cart/checkout-paypal.php
There could be something wrong with my sanbox account. I can follow through a full checkout with payment using a live test though. I am hoping to get this test payment fix as I like to run some more test with other features of the cart.
Offline
Duceduc,
I had all kinds of issues with my sandbox toward the end of the beta testing, so I had to switch to live and run my transactions. I would run the tranacation and than refund my money back through paypal. It's a lot more work to do that but paypal sandbox doesn't seem to function very well at times.
Offline
I was the opposite. Paypal was acting fine during beta testing, now when I really need to confirm the test, it is not. Grrr.
So there is nothing wrong with my settings than?
Offline
Paypal is a real pain at the best of times, I can never understand why they don`t adopt the same policy as other gateways by using a secret key. Coding Maian Cart, Paypal caused me all sorts of problems. I know Paypal have other options besides the IPN setup, so some may see integration into the cart at a later date.
I`ve had many issues with the Sandbox, but live has always been ok and as long as live works, I`ve never bothered too much with Sandbox debugging. They *should* both work the same, but Sandbox works for me one minute and not the next.
Are you getting any data logged in the log files for Sandbox? Any post data?
Offline
log files within paypal sandbox site? Where do I look for them. Sorry, I have been chasing this all day and I have found myself looking into so many sites, I lost track of where everything is.
Offline
No, in the cart. If you have gateway logging enabled, do you see anything in the 'logs' folder? Any txt file there?
And do you have anything set in sandbox which would affect the amount? Tax setups or anything like that?
Offline
There is a file in logs folder.
paypal-xxxxxxxxx.txt
I didn't setup any extra fee in sandbox. I only enabled the ipn url.
Data received from payment system: 1 March 2012 21:16:05
https://www.sandbox.paypal.com/cgi-bin/webscr?
- - - - - - - - - - - - - - - - - - - -
mc_gross: 1.00
protection_eligibility: Eligible
address_status: confirmed
payer_id: 5UZGSEKNQAFZE
tax: 0.00
address_street: 1 Main St
payment_date: 04:15:59 Mar 01, 2012 PST
payment_status: Completed
charset: windows-1252
address_zip: 95131
first_name: Duc
mc_fee: 0.33
address_country_code: US
address_name: Duc Buyer
notify_version: 3.4
custom: f1c8aa878ef494d16f378a1baf4250dccaf776d6939bed692f-19-mswcart
payer_status: verified
business: seller_1330588097_biz@gmail.com
address_country: United States
address_city: San Jose
quantity: 1
verify_sign: A0jk9gglm4mHI.AzfVKy2Isq-rdxA8O3yD58VrbM.wwS.9YZXUQcDXHo
payer_email: buyer1_1330587968_per@gmail.com
txn_id: 985025804T9415846
payment_type: instant
last_name: Buyer
address_state: CA
receiver_email: seller_1330588097_biz@gmail.com
payment_fee: 0.33
receiver_id: UP2WXJUUCTECL
txn_type: web_accept
item_name: Store Shopping Cart Order
mc_currency: USD
item_number:
residence_country: US
test_ipn: 1
handling_amount: 0.00
transaction_subject: f1c8aa878ef494d16f378a1baf4250dccaf776d6939bed692f-19-mswcart
payment_gross: 1.00
shipping: 0.00
ipn_track_id: 98133452dd10b
= = = = = = = = = = = = = = = = = = = =
Last edited by duceduc (01-03-2012 14:44:06)
Offline
Also, after paypal confirms the payment and redirects back to the site, does it use this url to redirect?
http://domain.com/products/checkout-paypal.php
I noticed if I paste that on the address bar, I get a permission denied message.
I wonder if that permission denied message got anything to do with the currency-updater.php file as well. I know we use that file to setup a cronjob for the currency update. I was and still am having trouble with the curreny update. If I put this link in the address bar, I get a permission denied as well.
http://domain.com/products/currency-updater.php
Offline
Try re-downloading the 'currency-updater.php' file. That shouldn`t throw errors. The checkout files cannot be accessed in a browser as they expect certain parameters, so the error for 'checkout-paypal.php' is fine.
The post data looks fine. It could simply be a paypal problem.
Offline
Hi Duc
I did not set any inp return url.
I simply put my sandbox email address into the cart admin.
As you can see for image below, i used both personal (sandbox) email for buying and seller (sandbox) email for selling.
I havent looked deeply into the carts paypal ipn, but it looks like the redirect is built into it.
I dont like the sandbox at all, its too complictaed. i just test with 1p (10 cents) items and do a refund once done.
Offline
Yes, the redirect url is auto parsed by the cart. The IPN url is only required I think to switch the IPN on if its not already.
Offline
I know I didn't have to input the ipn in the past either live or sandbox and the payment o through fine. The problem now is that after PayPal confirms payment and redirects back to site, the page hangs for several seconds & gives a gateway error.
I do get the screenshot mentioned above, just during the redirects I'm having issue.
Offline
I know I didn't have to input the ipn in the past either live or sandbox and the payment o through fine. The problem now is that after PayPal confirms payment and redirects back to site, the page hangs for several seconds & gives a gateway error.
I do get the screenshot mentioned above, just during the redirects I'm having issue.
Yes, the problem is that the database hasn`t been updated. The system checks for 15 seconds and if it hasn`t been updated times out. As with the live system, what happens is:
1. Paypal transmits the payment data to server.
2. The server sends the data back to Paypal to confirm that Paypal just sent it and its not some fake transaction.
3. Paypal confirms it has sent it and then the cart updates
The fact you get the log means the system receives the first transmission ok. But, if the Sandbox doesn`t do the confirmation correctly, the cart and sale will never get updated.
Does it work for a live payment?
Offline
Yes, the live payment works. I wanted to test the emails that suppose to be sent out goes to the right place both the customer and admin side on the cart system and to make sure the stock quantity are counting down.
Offline
Yes, the live payment works. I wanted to test the emails that suppose to be sent out goes to the right place both the customer and admin side on the cart system and to make sure the stock quantity are counting down.
If live works, then the issue is most definitely with the Paypal sandbox system.
Offline
Yes, i get that problem also with using sandbox, sorry if i confused the issue here.
The page says something like "updating order status", then keeps refreshing until it times out.
Switching to live payments and askinhg some friends to buy something, (along with me doing the same)
has resulted in 100% sales, logs, stock reduction and order emails being sent out.
I have given up on sandbox for the sake of live and penny sales now.
Duc, if you want to set up a dollar item on your site, Im happy to buy from you ![]()
Offline
Thanks for the offer. I will hit you up if I need to. I will just wait a day or two and hopefully sandbox work again.
Offline
Have either of you guys tried any of the other options? 2Checkout? Google Checkout?
Offline
No, I haven't, but I have been meaning to try another type of payment.
Offline
David,
I just open a 2checkout account and using their demo account. I have setup the account with the cart system and did a test purchased. 2checkout send me an email of an novice being made but the cart still hangs and gives me the same error as the paypal. No email was send to the admin or customer and the product was never recorded. This is two different payment system, should I investigate more on the cart system itself?
Offline