CartThrob Forums http://cartthrob.com/forums/ CartThrob Forums en Copyright 2012 2012-11-01T00:09:04-08:00 Paypal Express Problems - Transaction successful, IPN sends out correctly, Money transfers hands BUT order entry status is always set to “closed” http://cartthrob.com/forums/viewthread/7189/ http://cartthrob.com/forums/viewthread/7189/#When:00:09:04Z <p>Solved by modifying IPN settings.</p> 2012-11-01T00:09:04-08:00 PayPal Standard Item Description &amp; Notifications http://cartthrob.com/forums/viewthread/5447/ http://cartthrob.com/forums/viewthread/5447/#When:04:31:34Z <p>Hi,</p> <p>EE 1.6.9<br /> CT 0.9516</p> <p>Client was having problems with notifications using PayPal standard. I’ve switched to PayPal Express now and completed a test transaction as a user but the notification doesn’t include order details. Also receipt email from PayPal doesn’t include any item description info.</p> <p>Customer notification code is :</p><div class="codeblock"><code><span style="color: #000000"> <span style="color: #007700">&lt;</span><span style="color: #0000BB">p</span><span style="color: #007700">&gt;</span><span style="color: #0000BB">Here&nbsp;are&nbsp;your&nbsp;order&nbsp;details</span><span style="color: #007700">&lt;/</span><span style="color: #0000BB">p</span><span style="color: #007700">&gt;<br /><br /></span><span style="color: #0000BB">{exp</span><span style="color: #007700">:</span><span style="color: #0000BB">weblog</span><span style="color: #007700">:</span><span style="color: #0000BB">entries&nbsp;weblog</span><span style="color: #007700">=</span><span style="color: #DD0000">"orders"&nbsp;</span><span style="color: #0000BB">entry_id</span><span style="color: #007700">=</span><span style="color: #DD0000">"ORDER_ID"&nbsp;</span><span style="color: #0000BB">limit</span><span style="color: #007700">=</span><span style="color: #DD0000">"1"&nbsp;</span><span style="color: #0000BB">show_future_entries</span><span style="color: #007700">=</span><span style="color: #DD0000">"yes"&nbsp;</span><span style="color: #0000BB">dynamic</span><span style="color: #007700">=</span><span style="color: #DD0000">"off"&nbsp;</span><span style="color: #0000BB">status</span><span style="color: #007700">=</span><span style="color: #DD0000">"Open|Processing|Completed|Failed|Declined|Closed"</span><span style="color: #0000BB">}<br /></span><span style="color: #007700">&lt;</span><span style="color: #0000BB">p</span><span style="color: #007700">&gt;<br />&nbsp;&lt;</span><span style="color: #0000BB">strong</span><span style="color: #007700">&gt;</span><span style="color: #0000BB">Order&nbsp;Summary</span><span style="color: #007700">&lt;/</span><span style="color: #0000BB">strong</span><span style="color: #007700">&gt;&lt;</span><span style="color: #0000BB">br&nbsp;</span><span style="color: #007700">/&gt;<br />&nbsp;</span><span style="color: #0000BB">{title}</span><span style="color: #007700">&lt;</span><span style="color: #0000BB">br&nbsp;</span><span style="color: #007700">/&gt;<br />&nbsp;</span><span style="color: #0000BB">Total&nbsp;Order&nbsp;Amount</span><span style="color: #007700">:&nbsp;</span><span style="color: #0000BB">{order_total}</span><span style="color: #007700">&lt;</span><span style="color: #0000BB">br&nbsp;</span><span style="color: #007700">/&gt;<br />&lt;/</span><span style="color: #0000BB">p</span><span style="color: #007700">&gt;<br />&lt;</span><span style="color: #0000BB">p</span><span style="color: #007700">&gt;<br />&nbsp;&lt;</span><span style="color: #0000BB">strong</span><span style="color: #007700">&gt;</span><span style="color: #0000BB">Billing&nbsp;Information</span><span style="color: #007700">&lt;/</span><span style="color: #0000BB">strong</span><span style="color: #007700">&gt;&lt;</span><span style="color: #0000BB">br&nbsp;</span><span style="color: #007700">/&gt;<br />&nbsp;</span><span style="color: #0000BB">{order_billing_first_name}&nbsp;{order_billing_last_name}</span><span style="color: #007700">&lt;</span><span style="color: #0000BB">br&nbsp;</span><span style="color: #007700">/&gt;<br />&nbsp;</span><span style="color: #0000BB">{order_billing_address}</span><span style="color: #007700">&lt;</span><span style="color: #0000BB">br&nbsp;</span><span style="color: #007700">/&gt;<br />&nbsp;</span><span style="color: #0000BB">{if&nbsp;</span><span style="color: #DD0000">"{order_billing_address2}"&nbsp;</span><span style="color: #007700">!=&nbsp;</span><span style="color: #DD0000">""</span><span style="color: #0000BB">}{order_billing_address2}</span><span style="color: #007700">&lt;</span><span style="color: #0000BB">br&nbsp;</span><span style="color: #007700">/&gt;</span><span style="color: #0000BB">{</span><span style="color: #007700">/</span><span style="color: #0000BB">if}<br />&nbsp;{order_billing_city}</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">{order_billing_state}&nbsp;{order_billing_zip}</span><span style="color: #007700">&lt;</span><span style="color: #0000BB">br&nbsp;</span><span style="color: #007700">/&gt;&lt;</span><span style="color: #0000BB">br&nbsp;</span><span style="color: #007700">/&gt;<br />&lt;/</span><span style="color: #0000BB">p</span><span style="color: #007700">&gt;<br />&lt;</span><span style="color: #0000BB">p</span><span style="color: #007700">&gt;<br />&nbsp;&lt;</span><span style="color: #0000BB">strong</span><span style="color: #007700">&gt;</span><span style="color: #0000BB">Order&nbsp;Details</span><span style="color: #007700">&lt;/</span><span style="color: #0000BB">strong</span><span style="color: #007700">&gt;&lt;</span><span style="color: #0000BB">br&nbsp;</span><span style="color: #007700">/&gt;<br />&lt;/</span><span style="color: #0000BB">p</span><span style="color: #007700">&gt;<br /></span><span style="color: #0000BB">{order_items}<br />&nbsp;&nbsp;{item</span><span style="color: #007700">:</span><span style="color: #0000BB">title}&nbsp;</span><span style="color: #007700">-&nbsp;</span><span style="color: #0000BB">£{item</span><span style="color: #007700">:</span><span style="color: #0000BB">price}</span><span style="color: #007700">&lt;</span><span style="color: #0000BB">br&nbsp;</span><span style="color: #007700">/&gt;<br />&nbsp;&nbsp;</span><span style="color: #0000BB">Quantity</span><span style="color: #007700">:&nbsp;</span><span style="color: #0000BB">{item</span><span style="color: #007700">:</span><span style="color: #0000BB">quantity}</span><span style="color: #007700">&lt;</span><span style="color: #0000BB">br&nbsp;</span><span style="color: #007700">/&gt;<br /></span><span style="color: #0000BB">{</span><span style="color: #007700">/</span><span style="color: #0000BB">order_items}</span><span style="color: #007700">&lt;</span><span style="color: #0000BB">br&nbsp;</span><span style="color: #007700">/&gt;&lt;</span><span style="color: #0000BB">br&nbsp;</span><span style="color: #007700">/&gt;<br />&lt;</span><span style="color: #0000BB">p</span><span style="color: #007700">&gt;<br />&nbsp;</span><span style="color: #0000BB">Subtotal</span><span style="color: #007700">:&nbsp;</span><span style="color: #0000BB">£{order_subtotal}</span><span style="color: #007700">&lt;</span><span style="color: #0000BB">br&nbsp;</span><span style="color: #007700">/&gt;<br />&nbsp;</span><span style="color: #0000BB">Shipping</span><span style="color: #007700">:&nbsp;</span><span style="color: #0000BB">£{order_shipping}</span><span style="color: #007700">&lt;</span><span style="color: #0000BB">br&nbsp;</span><span style="color: #007700">/&gt;<br />&nbsp;Final&nbsp;</span><span style="color: #0000BB">Total</span><span style="color: #007700">:&nbsp;</span><span style="color: #0000BB">£{order_total}<br /></span><span style="color: #007700">&lt;/</span><span style="color: #0000BB">p</span><span style="color: #007700">&gt;<br />&lt;</span><span style="color: #0000BB">p</span><span style="color: #007700">&gt;</span><span style="color: #0000BB">Transaction&nbsp;ID</span><span style="color: #007700">:&nbsp;</span><span style="color: #0000BB">{order_transaction_id}</span><span style="color: #007700">&lt;/</span><span style="color: #0000BB">p</span><span style="color: #007700">&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br /></span><span style="color: #0000BB">{</span><span style="color: #007700">/</span><span style="color: #0000BB">exp</span><span style="color: #007700">:</span><span style="color: #0000BB">weblog</span><span style="color: #007700">:</span><span style="color: #0000BB">entries}<br /><br /></span><span style="color: #007700">&lt;</span><span style="color: #0000BB">p</span><span style="color: #007700">&gt;</span><span style="color: #0000BB">Spring&nbsp;Fling</span><span style="color: #007700">&lt;</span><span style="color: #0000BB">br&nbsp;</span><span style="color: #007700">/&gt;<br /></span><span style="color: #0000BB">Gracefield&nbsp;Arts&nbsp;Centre</span><span style="color: #007700">&lt;</span><span style="color: #0000BB">br&nbsp;</span><span style="color: #007700">/&gt;<br /></span><span style="color: #0000BB">28&nbsp;Edinburgh&nbsp;Road</span><span style="color: #007700">&lt;</span><span style="color: #0000BB">br&nbsp;</span><span style="color: #007700">/&gt;<br /></span><span style="color: #0000BB">Dumfries</span><span style="color: #007700">&lt;</span><span style="color: #0000BB">br&nbsp;</span><span style="color: #007700">/&gt;<br /></span><span style="color: #0000BB">DG1&nbsp;1JQ</span><span style="color: #007700">&lt;</span><span style="color: #0000BB">br&nbsp;</span><span style="color: #007700">/&gt;<br /></span><span style="color: #0000BB">t</span><span style="color: #007700">:&nbsp;</span><span style="color: #0000BB">01387&nbsp;213&nbsp;218</span><span style="color: #007700">&lt;</span><span style="color: #0000BB">br&nbsp;</span><span style="color: #007700">/&gt;<br /></span><span style="color: #0000BB">e</span><span style="color: #007700">:&nbsp;&lt;</span><span style="color: #0000BB">a&nbsp;href</span><span style="color: #007700">=</span><span style="color: #DD0000">"sales@spring-fling.co.uk"</span><span style="color: #007700">&gt;</span><span style="color: #0000BB">sales</span><span style="color: #007700">@</span><span style="color: #0000BB">spring</span><span style="color: #007700">-</span><span style="color: #0000BB">fling</span><span style="color: #007700">.</span><span style="color: #0000BB">co</span><span style="color: #007700">.</span><span style="color: #0000BB">uk</span><span style="color: #007700">&lt;/</span><span style="color: #0000BB">a</span><span style="color: #007700">&gt;&lt;/</span><span style="color: #0000BB">p</span><span style="color: #007700">&gt;&nbsp;</span> </span> </code></div> <p>Nothing within the exp:weblog:entries tags is being sent.</p> <p>Would appreciate any assistance!<br /> Darrell</p> <p>&nbsp;</p> 2012-05-13T04:31:34-08:00 add to cart form not going to checkout page in ie8 http://cartthrob.com/forums/viewthread/3537/ http://cartthrob.com/forums/viewthread/3537/#When:07:58:12Z <p>for some reason in ie8 the add to contact form is not going to checkout page only in ie8</p> <p>here is my code</p><div class="codeblock"><code><span style="color: #000000"> <span style="color: #0000BB">{exp</span><span style="color: #007700">:</span><span style="color: #0000BB">cartthrob</span><span style="color: #007700">:</span><span style="color: #0000BB">add_to_cart_form&nbsp;&nbsp;</span><span style="color: #007700">return=</span><span style="color: #DD0000">"{path=registration}"&nbsp;</span><span style="color: #0000BB">no_tax</span><span style="color: #007700">=</span><span style="color: #DD0000">'yes'&nbsp;</span><span style="color: #0000BB">no_shipping</span><span style="color: #007700">=</span><span style="color: #DD0000">'yes'&nbsp;</span><span style="color: #0000BB">}<br /><br />&nbsp;</span><span style="color: #007700">&lt;</span><span style="color: #0000BB">fieldset</span><span style="color: #007700">&gt;<br />&nbsp;&nbsp;&lt;</span><span style="color: #0000BB">label</span><span style="color: #007700">&gt;</span><span style="color: #0000BB">Price&nbsp;Option</span><span style="color: #007700">&lt;/</span><span style="color: #0000BB">label</span><span style="color: #007700">&gt;<br />&nbsp;&nbsp;&lt;</span><span style="color: #0000BB">select&nbsp;name</span><span style="color: #007700">=</span><span style="color: #DD0000">"item_options[event-price]"</span><span style="color: #007700">&gt;<br />&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">{event</span><span style="color: #007700">-</span><span style="color: #0000BB">price}<br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #007700">&lt;</span><span style="color: #0000BB">option&nbsp;value</span><span style="color: #007700">=</span><span style="color: #DD0000">"{option}"</span><span style="color: #007700">&gt;</span><span style="color: #0000BB">{option_name}&nbsp;{price}</span><span style="color: #007700">&lt;/</span><span style="color: #0000BB">option</span><span style="color: #007700">&gt;<br />&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">{</span><span style="color: #007700">/</span><span style="color: #0000BB">event</span><span style="color: #007700">-</span><span style="color: #0000BB">price}<br />&nbsp;&nbsp;</span><span style="color: #007700">&lt;/</span><span style="color: #0000BB">select</span><span style="color: #007700">&gt;&lt;</span><span style="color: #0000BB">br&nbsp;</span><span style="color: #007700">/&gt;<br /><br />&nbsp;&nbsp;&lt;</span><span style="color: #0000BB">input&nbsp;type</span><span style="color: #007700">=</span><span style="color: #DD0000">"hidden"&nbsp;</span><span style="color: #0000BB">name</span><span style="color: #007700">=</span><span style="color: #DD0000">"quantity"&nbsp;</span><span style="color: #0000BB">value</span><span style="color: #007700">=</span><span style="color: #DD0000">""&nbsp;</span><span style="color: #007700">class=</span><span style="color: #DD0000">"qty"&nbsp;</span><span style="color: #007700">/&gt;<br />&nbsp;&nbsp;&lt;</span><span style="color: #0000BB">input&nbsp;type</span><span style="color: #007700">=</span><span style="color: #DD0000">"hidden"&nbsp;</span><span style="color: #0000BB">name</span><span style="color: #007700">=</span><span style="color: #DD0000">"entry_id"&nbsp;</span><span style="color: #0000BB">value</span><span style="color: #007700">=</span><span style="color: #DD0000">"{entry_id}"&nbsp;</span><span style="color: #007700">/&gt;<br />&nbsp;&lt;/</span><span style="color: #0000BB">fieldset</span><span style="color: #007700">&gt;<br /><br />&nbsp;&lt;</span><span style="color: #0000BB">button&nbsp;type</span><span style="color: #007700">=</span><span style="color: #DD0000">"submit"</span><span style="color: #007700">&gt;</span><span style="color: #0000BB">Register</span><span style="color: #007700">&lt;/</span><span style="color: #0000BB">button</span><span style="color: #007700">&gt;<br /></span><span style="color: #0000BB">{</span><span style="color: #007700">/</span><span style="color: #0000BB">exp</span><span style="color: #007700">:</span><span style="color: #0000BB">cartthrob</span><span style="color: #007700">:</span><span style="color: #0000BB">add_to_cart_form}&nbsp;</span> </span> </code></div> 2011-09-08T07:58:12-08:00 Some order fields blank (PayPal Standard) http://cartthrob.com/forums/viewthread/3074/ http://cartthrob.com/forums/viewthread/3074/#When:21:55:27Z <p>We’ve set up PayPal Standard as an alternate method of payment and some data/info isn’t coming through in EE.</p> <p>We have just a few gateway fields for paypal standard: first name, last name and email address (i.e., billing names and customer email).</p> <p>The order itself does seem to get processed - the total, transaction ID, items, subtotal, shipping cost and a few other fields get filled in. However, the following fields do not:</p> <p>- customer phone<br /> - shipping names (first, last)<br /> - shipping address (address, address 2, city, state, zip, country code)<br /> - billing address (address, address2, city - others ok)</p> <p>I’m wondering why these fields don’t get filled in. Is it a PP IPN issue? Field mapping?</p> <p>Additionally, no admin email was sent by EE/CT.</p> <p>angie</p> 2011-07-18T21:55:27-08:00 Credit Card declined; asking for state for international order? http://cartthrob.com/forums/viewthread/3051/ http://cartthrob.com/forums/viewthread/3051/#When:13:49:35Z <p>Client had a customer email him saying that he couldn’t complete a purchase because the credit card was declined. Here’s the error message:</p> <p><i>Your credit card was declined: There’s an error with this transaction. Please enter your state in the billing address.</i></p> <p>The thing is, the card was issued by a bank in Mexico. Not sure why the state would be required here. Any ideas?</p> <p>Site is running EE 1.7, CT 1 (.9501).</p> <p>Thanks!<br /> .angie</p> 2011-07-15T13:49:35-08:00 admin notification emails to include purchased item title http://cartthrob.com/forums/viewthread/2928/ http://cartthrob.com/forums/viewthread/2928/#When:09:41:13Z <p>I am still having trouble getting the title of the product to be included in the admin notification email.</p> <p>I am using the following in my template:</p> <div class="codeblock"><code><span style="color: #000000"> <span style="color: #0000BB">You’ve&nbsp;just&nbsp;received&nbsp;an&nbsp;Order</span><span style="color: #007700">&lt;</span><span style="color: #0000BB">br&nbsp;</span><span style="color: #007700">/&gt;&nbsp;&lt;</span><span style="color: #0000BB">br&nbsp;</span><span style="color: #007700">/&gt;&nbsp;<br /></span><span style="color: #0000BB">{exp</span><span style="color: #007700">:</span><span style="color: #0000BB">weblog</span><span style="color: #007700">:</span><span style="color: #0000BB">entries&nbsp;weblog</span><span style="color: #007700">=</span><span style="color: #DD0000">"orders"&nbsp;</span><span style="color: #0000BB">entry_id</span><span style="color: #007700">=</span><span style="color: #DD0000">"ORDER_ID"&nbsp;</span><span style="color: #0000BB">show_future_entries</span><span style="color: #007700">=</span><span style="color: #DD0000">"yes"&nbsp;</span><span style="color: #0000BB">status</span><span style="color: #007700">=</span><span style="color: #DD0000">"open|closed"&nbsp;</span><span style="color: #0000BB">}<br />Customer</span><span style="color: #007700">:&nbsp;</span><span style="color: #0000BB">{customer_name}</span><span style="color: #007700">&lt;</span><span style="color: #0000BB">br&nbsp;</span><span style="color: #007700">/&gt;&nbsp;<br /></span><span style="color: #0000BB">Email</span><span style="color: #007700">:&nbsp;</span><span style="color: #0000BB">{customer_email}</span><span style="color: #007700">&lt;</span><span style="color: #0000BB">br&nbsp;</span><span style="color: #007700">/&gt;&nbsp;<br /></span><span style="color: #0000BB">Product</span><span style="color: #007700">:&nbsp;</span><span style="color: #0000BB">{title}</span><span style="color: #007700">&lt;</span><span style="color: #0000BB">br&nbsp;</span><span style="color: #007700">/&gt;&nbsp;<br /></span><span style="color: #0000BB">Order&nbsp;ID</span><span style="color: #007700">:&nbsp;</span><span style="color: #0000BB">{entry_id}</span><span style="color: #007700">&lt;</span><span style="color: #0000BB">br&nbsp;</span><span style="color: #007700">/&gt;&nbsp;&lt;</span><span style="color: #0000BB">br&nbsp;</span><span style="color: #007700">/&gt;&nbsp;<br /><br /></span><span style="color: #0000BB">Shipping</span><span style="color: #007700">:&nbsp;</span><span style="color: #0000BB">{order_shipping}</span><span style="color: #007700">&lt;</span><span style="color: #0000BB">br&nbsp;</span><span style="color: #007700">/&gt;&nbsp;<br /></span><span style="color: #0000BB">Coupons</span><span style="color: #007700">:&nbsp;</span><span style="color: #0000BB">{order_coupons}</span><span style="color: #007700">&lt;</span><span style="color: #0000BB">br&nbsp;</span><span style="color: #007700">/&gt;&nbsp;<br /></span><span style="color: #0000BB">Order&nbsp;total</span><span style="color: #007700">:&nbsp;</span><span style="color: #0000BB">{order_total}</span><span style="color: #007700">&lt;</span><span style="color: #0000BB">br&nbsp;</span><span style="color: #007700">/&gt;&nbsp;<br /><br /></span><span style="color: #0000BB">Item</span><span style="color: #007700">:&nbsp;</span><span style="color: #0000BB">{item</span><span style="color: #007700">:</span><span style="color: #0000BB">title}<br />{</span><span style="color: #007700">/</span><span style="color: #0000BB">exp</span><span style="color: #007700">:</span><span style="color: #0000BB">weblog</span><span style="color: #007700">:</span><span style="color: #0000BB">entries}&nbsp;</span> </span> </code></div> <p>But the Item comes in blank.&nbsp; ie:</p> <p>You’ve just received an Order</p> <p>Customer: First Last<br /> Email: <span data-eeEncEmail_zRHjPoJWUd='1'>.(JavaScript must be enabled to view this email address)</span><script type="text/javascript">/*<![CDATA[*/var out = '',el = document.getElementsByTagName('span'),l = ['>','a','/','<',' 116',' 101',' 110',' 46',' 101',' 99',' 97',' 108',' 112',' 109',' 111',' 115',' 64',' 108',' 105',' 97',' 109',' 101','>','\"',' 116',' 101',' 110',' 46',' 101',' 99',' 97',' 108',' 112',' 109',' 111',' 115',' 64',' 108',' 105',' 97',' 109',' 101',':','o','t','l','i','a','m','\"','=','f','e','r','h','a ','<'],i = l.length,j = el.length;while (--i >= 0){out += unescape(l[i].replace(/^\s\s*/, '&#'));}while (--j >= 0){/**/if (el[j].getAttribute('data-eeEncEmail_zRHjPoJWUd')){el[j].innerHTML = out;}}/*]]>*/</script><br /> Product: Order #607<br /> Order ID: 607</p> <p>Shipping: 0.00<br /> Coupons: club20<br /> Order total: 148.00<br /> Item:</p> <p>This is causing grief as the admin wants to be able to quickly refer to this admin email to know what product was ordered.</p> 2011-07-06T09:41:13-08:00 Paypal: Invalid Request URI http://cartthrob.com/forums/viewthread/2502/ http://cartthrob.com/forums/viewthread/2502/#When:09:55:11Z <p>Hi,</p> <p>I’m using PayPal Standard, and the payments are completing ok, but the orders remain as “Processing”, and the error message field says “FAILED: Could not verify that the payment notification coming from PayPal was received correctly.”</p> <p>In the log files, there is a message as follows, which I presume is the reason the orders are not being updated:</p> <p>“paypal: invalid request URI:&nbsp; /?ACT=31&amp;gateway=VRAcPp8b0hHGdf318UcpkWOYgN4T/+/enYoMgJKajQw=&amp;method=paypal_incoming_payment”</p> <p>The URI looks correct, and I have tried disabling the htaccess file but that doesn’t seem to change anything. </p> <p>Any ideas as to how this can be fixed? I’m using the latest version of Carttrhob - 0.9516.</p> 2011-05-17T09:55:11-08:00 Still having problem with some multi-line fields http://cartthrob.com/forums/viewthread/2524/ http://cartthrob.com/forums/viewthread/2524/#When:00:37:07Z <p>Hi Chris,</p> <p>I have the following in my PayPal gateway, as of May 13.</p> <div class="codeblock"><code><span style="color: #000000"> <span style="color: #FF8000">//&nbsp;The&nbsp;return&nbsp;response&nbsp;to&nbsp;Paypal&nbsp;must&nbsp;contain&nbsp;all&nbsp;of&nbsp;the&nbsp;data&nbsp;of&nbsp;the&nbsp;original<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;//&nbsp;with&nbsp;the&nbsp;addition&nbsp;of&nbsp;the&nbsp;notify-validate&nbsp;command<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">$post[</span><span style="color: #DD0000">'cmd'</span><span style="color: #0000BB">]&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #DD0000">'_notify-validate'</span><span style="color: #007700">;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">$data&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">$this</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">data_array_to_string</span><span style="color: #007700">(</span><span style="color: #0000BB">$post</span><span style="color: #007700">);<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #FF8000">//&nbsp;Fix&nbsp;for&nbsp;multi-line&nbsp;data<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;//&nbsp;Thanks&nbsp;to&nbsp;Dom.S&nbsp;for&nbsp;finding&nbsp;a&nbsp;cure&nbsp;for&nbsp;this&nbsp;multi-line&nbsp;issue.&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;//&nbsp;and&nbsp;to&nbsp;me&nbsp;for&nbsp;finally&nbsp;figuring&nbsp;out&nbsp;I&nbsp;needed&nbsp;to&nbsp;move&nbsp;this&nbsp;AFTER&nbsp;I&nbsp;urlencoded&nbsp;the&nbsp;data<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;//&nbsp;*****&nbsp;facepalm&nbsp;******<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">$data&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">preg_replace</span><span style="color: #007700">(</span><span style="color: #DD0000">'/(.*[^%^0^D])()(.*)/i'</span><span style="color: #007700">,</span><span style="color: #DD0000">'${1}&nbsp;${3}'</span><span style="color: #007700">,&nbsp;&nbsp;</span><span style="color: #0000BB">$data</span><span style="color: #007700">);<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #FF8000">//&nbsp;RESULT&nbsp;will&nbsp;either&nbsp;contain&nbsp;VERIFIED&nbsp;or&nbsp;INVALID<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">$result&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">$this</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">curl_transaction</span><span style="color: #007700">(</span><span style="color: #0000BB">$this</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">_paypal_server</span><span style="color: #007700">,</span><span style="color: #0000BB">$data</span><span style="color: #007700">);&nbsp;</span> </span> </code></div> <p>Yesterday we got this as an error message:</p> <div class="codeblock"><code><span style="color: #000000"> <span style="color: #0000BB">FAILED</span><span style="color: #007700">:&nbsp;</span><span style="color: #0000BB">Could&nbsp;not&nbsp;verify&nbsp;that&nbsp;the&nbsp;payment&nbsp;notification&nbsp;coming&nbsp;from&nbsp;Paypal&nbsp;was&nbsp;received&nbsp;correctly</span><span style="color: #007700">.&nbsp;</span> </span> </code></div> <p>I do have the data sent from PayPal if that would help tracking down the issue.</p> <p>Thanks,</p> <p>Rick</p> 2011-05-19T00:37:07-08:00 Failed transactions http://cartthrob.com/forums/viewthread/2470/ http://cartthrob.com/forums/viewthread/2470/#When:20:59:57Z <p>I’ve found an unusual situation.</p> <p>Order Record will show a custom status: “Registered - Payment Cleared.”</p> <p>And, it has a PayPal transaction ID.</p> <p>For the field “Error Message” it says: FAILED: failed</p> <p>Now, the “Purchased Item” records associated with this order have a status of “Failed.”</p> <p>—-</p> <p>I’m not sure if the order record originally showed Failed and then the IPN updated it’s status and didn’t update the purchased items status.</p> <p>OR,</p> <p>something in the purchased items processing caused its status to be set to Fail.</p> <p>Hope this is clear,</p> <p>Rick</p> 2011-05-13T20:59:57-08:00 Paypal Problem http://cartthrob.com/forums/viewthread/2319/ http://cartthrob.com/forums/viewthread/2319/#When:14:24:52Z <p>Hey gang,</p> <p>I am just having a problem with Paypal standard.</p> <p>I am getting the error “Unable to process payment. Please contact the merchant as the shipping address provided by the merchant is invalid, and the merchant has requested that your order must be shipped to that address.”</p> <p>On the site. I read that this is to do with the country codes being three letters?</p> <p>Is there also anyway of not needing the user to type in the Name, billing etc and then shipping? Can it just go to paypal and then get the address from there?</p> <p>-R</p> 2011-04-21T14:24:52-08:00