♥devosc Posted November 10, 2004 Author Share Posted November 10, 2004 Hi Ryan, Have a look at version 2.9, this one should of fixed the resume order total amounts, for the button via the account history profile. What ended up being neccessary to make things work with multi-currencies, is that in the PayPal payment module it will automatically convert the amount into either (USD, CAD, GBP, JPY, EUR) and USD being absolute default, this is so that if the customer checks out using say Italian Liras, although this currency and amount is used in the actual order, the PayPal module will convert it into one that PayPal recognizes, so this 'converted' amount is the amount that gets stored in the table orders_session_info which is then used to verify that the amount paid to PayPal is correct, however resolving this caused the resume order button to not be correct, if I can recall the shipping cost was being included in the total amount as well as being specified individually - see the function SendMoney in the main payment/paypal.php this info then gets passed to the usual formfields via fnc params etc... In regard to cancelations, the only time that the module will automatically update an order status to cancelled is when PayPal sends an IPN stating that a payment has been refunded, reversed or denied - see catalog/ipn.php, I suppose could have a get param to signify order cancelled for return (similiar to success). I'm not currently sure why tax should be a problem - although I may of overlooked something when trying to get the converted amounts pre-stored in orders_session_info - I'll try and look out for this when running tests etc... Jeff, have a look in payment/paypal/classes/order.class.php for the function notify customer, however you may have to pre-store any new variables used in the confirmation email, the PayPal checkout flow is sort of like: checkout_confirmation->paypal/catalog/checkout_process->paypal/catalog/checkout_update. paypal/catalog/checkout_process is where any info required for that particular order-session is stored in the table orders_session_info. -apols if haven't answered everything. Quote "Any fool can know. The point is to understand." -- Albert Einstein Link to comment Share on other sites More sharing options...
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.