News:

Looking for documentation? Take a look on our wiki

Main Menu

Paypal - Your purchase couldn't be completed

Started by dlaforce, January 23, 2014, 19:08:16 PM

Previous topic - Next topic

dlaforce

I'm having an issue with a new site that won't let me complete the checkout through paypal. I'm using 2.0.26d and using the standard paypal payment. After I put in all the shopper information in the checkout and confirm the purchase I get a redirection page that shows the following information which looks like there might be a code issue:



After the redirection to paypal I get the following error page:



Is it a configuration issue or some bug in the code?

alatak

hello

Yes strange.
Can you turn on the debug option in the payment configuration. Before being redirected to Paypal, the form sent to paypal is displayed.
Can you copy / paste this info here.

dlaforce

#2
PayPal request::
Array
(
        [cmd]   ⇒   _ext-enter
        [redirect_cmd]   ⇒   _xclick
        [paymentaction]   ⇒   sale
        [upload]   ⇒   1
        [business]   ⇒   merchant@email.com
        [receiver_email]   ⇒   merchant@email.com
        [order_number]   ⇒   0e25020
        [invoice]   ⇒   0e25020
        [custom]   ⇒   abd8bc8e4cfd54d11944ed3f60cf6feb
        [currency_code]   ⇒   USD
        [address_override]   ⇒   1
        [first_name]   ⇒   John
        [last_name]   ⇒   Doe
        [address1]   ⇒   12345 Street Ave
        [address2]   ⇒   
        [zip]   ⇒   90555
        [city]   ⇒   Los Angeles
        [state]   ⇒   CA
        [country]   ⇒   US
        [email]   ⇒   shopper@email.com
        [night_phone_b]   ⇒   8005555555
        [return]   ⇒   http://website.com/index.php?option=com_virtuemart&view=pluginresponse&task=pluginresponsereceived&on=0e25020&pm=1&Itemid=138&lang=
        [notify_url]   ⇒   http://website.com/index.php?option=com_virtuemart&view=pluginresponse&task=pluginnotification&tmpl=component&lang=
        [cancel_return]   ⇒   http://website.com/index.php?option=com_virtuemart&view=pluginresponse&task=pluginUserPaymentCancel&on=0e25020&pm=1&Itemid=138&lang=
        [rm]   ⇒   2
        [bn]   ⇒   VirtueMart_Cart_PPA
        [no_shipping]   ⇒   0
        [no_note]   ⇒   1
        [image_url]   ⇒   http://website.com/images/stories/virtuemart/vendor/
        [item_name]   ⇒   Order   Number:   0e25020
        [amount]   ⇒   277.95
)


alatak

Hello
I don't see anything wrong
beside this parameter    [image_url]   ⇒   http://website.com/images/stories/virtuemart/vendor/
It should not have been empty. I will check that.

Can you send me the URL of your website, i will check directly what is wrong.

alatak

Hello
You are using the Contacts Enhanced component /plugin that modifies the email address in the payment form sent to PayPal.
Have a look at the screen shot.

[attachment cleanup by admin]

dlaforce

That was definitely the issue, disabled contact enhanced and it worked like normal. I'm surprised it had that effect on the virtuemart side. Thank you very much for finding the issue.