EE 1.6.9
CT 0.9516
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.
Customer notification code is :
<p>Here are your order details</p>
{exp:weblog:entries weblog="orders" entry_id="ORDER_ID" limit="1" show_future_entries="yes" dynamic="off" status="Open|Processing|Completed|Failed|Declined|Closed"}
<p>
<strong>Order Summary</strong><br />
{title}<br />
Total Order Amount: {order_total}<br />
</p>
<p>
<strong>Billing Information</strong><br />
{order_billing_first_name} {order_billing_last_name}<br />
{order_billing_address}<br />
{if "{order_billing_address2}" != ""}{order_billing_address2}<br />{/if}
{order_billing_city}, {order_billing_state} {order_billing_zip}<br /><br />
</p>
<p>
<strong>Order Details</strong><br />
</p>
{order_items}
{item:title} - £{item:price}<br />
Quantity: {item:quantity}<br />
{/order_items}<br /><br />
<p>
Subtotal: £{order_subtotal}<br />
Shipping: £{order_shipping}<br />
Final Total: £{order_total}
</p>
<p>Transaction ID: {order_transaction_id}</p>
{/exp:weblog:entries}
<p>Spring Fling<br />
Gracefield Arts Centre<br />
28 Edinburgh Road<br />
Dumfries<br />
DG1 1JQ<br />
t: 01387 213 218<br />
e: <a href="sales@spring-fling.co.uk">sales@spring-fling.co.uk</a></p>
Nothing within the exp:weblog:entries tags is being sent.
Would appreciate any assistance!
Darrell
]]>
here is my code
{exp:cartthrob:add_to_cart_form return="{path=registration}" no_tax='yes' no_shipping='yes' }
<fieldset>
<label>Price Option</label>
<select name="item_options[event-price]">
{event-price}
<option value="{option}">{option_name} {price}</option>
{/event-price}
</select><br />
<input type="hidden" name="quantity" value="" class="qty" />
<input type="hidden" name="entry_id" value="{entry_id}" />
</fieldset>
<button type="submit">Register</button>
{/exp:cartthrob:add_to_cart_form}
We have just a few gateway fields for paypal standard: first name, last name and email address (i.e., billing names and customer email).
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:
- customer phone
- shipping names (first, last)
- shipping address (address, address 2, city, state, zip, country code)
- billing address (address, address2, city - others ok)
I’m wondering why these fields don’t get filled in. Is it a PP IPN issue? Field mapping?
Additionally, no admin email was sent by EE/CT.
angie
]]>Your credit card was declined: There’s an error with this transaction. Please enter your state in the billing address.
The thing is, the card was issued by a bank in Mexico. Not sure why the state would be required here. Any ideas?
Site is running EE 1.7, CT 1 (.9501).
Thanks!
.angie
I am using the following in my template:
You’ve just received an Order<br /> <br />
{exp:weblog:entries weblog="orders" entry_id="ORDER_ID" show_future_entries="yes" status="open|closed" }
Customer: {customer_name}<br />
Email: {customer_email}<br />
Product: {title}<br />
Order ID: {entry_id}<br /> <br />
Shipping: {order_shipping}<br />
Coupons: {order_coupons}<br />
Order total: {order_total}<br />
Item: {item:title}
{/exp:weblog:entries}
But the Item comes in blank. ie:
You’ve just received an Order
Customer: First Last
Email: .(JavaScript must be enabled to view this email address)
Product: Order #607
Order ID: 607
Shipping: 0.00
Coupons: club20
Order total: 148.00
Item:
This is causing grief as the admin wants to be able to quickly refer to this admin email to know what product was ordered.
]]>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.”
In the log files, there is a message as follows, which I presume is the reason the orders are not being updated:
“paypal: invalid request URI: /?ACT=31&gateway=VRAcPp8b0hHGdf318UcpkWOYgN4T/+/enYoMgJKajQw=&method=paypal_incoming_payment”
The URI looks correct, and I have tried disabling the htaccess file but that doesn’t seem to change anything.
Any ideas as to how this can be fixed? I’m using the latest version of Carttrhob - 0.9516.
]]>I have the following in my PayPal gateway, as of May 13.
// The return response to Paypal must contain all of the data of the original
// with the addition of the notify-validate command
$post['cmd'] = '_notify-validate';
$data = $this->data_array_to_string($post);
// Fix for multi-line data
// Thanks to Dom.S for finding a cure for this multi-line issue.
// and to me for finally figuring out I needed to move this AFTER I urlencoded the data
// ***** facepalm ******
$data = preg_replace('/(.*[^%^0^D])()(.*)/i','${1} ${3}', $data);
// RESULT will either contain VERIFIED or INVALID
$result = $this->curl_transaction($this->_paypal_server,$data);
Yesterday we got this as an error message:
FAILED: Could not verify that the payment notification coming from Paypal was received correctly.
I do have the data sent from PayPal if that would help tracking down the issue.
Thanks,
Rick
]]>Order Record will show a custom status: “Registered - Payment Cleared.”
And, it has a PayPal transaction ID.
For the field “Error Message” it says: FAILED: failed
Now, the “Purchased Item” records associated with this order have a status of “Failed.”
—-
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.
OR,
something in the purchased items processing caused its status to be set to Fail.
Hope this is clear,
Rick
]]>I am just having a problem with Paypal standard.
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.”
On the site. I read that this is to do with the country codes being three letters?
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?
-R
]]>