Jump to content

perfectpassion

Members
  • Content count

    1,317
  • Joined

  • Last visited

3 Followers

About perfectpassion

  • Birthday 04/28/1980

Profile Information

  • Real Name
    Tom
  • Gender
    Male
  • Location
    Wales
  1. perfectpassion

    [Contribution] Protx Direct v5 Support Thread

    In includes/modules/payment/protx_direct.php, look for the following line: 'Amount' => $this->format_raw($order->info['total']), (amount sent to SagePay) and also 'value' => $this->format_raw($order->info['total']), (amount stored in db to appear in store admin)
  2. perfectpassion

    [Contribution] Protx Direct v5 Support Thread

    Did you get the PM I sent last week after your last post?
  3. perfectpassion

    [Contribution] Protx Direct v5 Support Thread

    That's odd - the size is set well above the size recommended by Visa / Mastercard. The line to change is in includes/modules/payment/protx_Direct.php: $string = '<script type="text/javascript"> document.write("<a href=\"'.str_replace('"', '\\"', tep_href_link(FILENAME_PROTX_PROCESS_WIN, 'height=500&width=500&modal=true', 'SSL').'" class="thickbox">'.tep_image(DIR_WS_LANGUAGES.$language.'/images/buttons/button_confirm_order.gif', IMAGE_BUTTON_CONFIRM_ORDER)).'</a>"); Simply change the width / height settings in the url above.
  4. perfectpassion

    [Contribution] Protx Direct v5 Support Thread

    Yes my contribution is fully compatible with the current SagePay Direct release. It can be found at: http://addons.oscommerce.com/info/4026 - I advise using the latest version.
  5. perfectpassion

    [Contribution] Protx Direct v5 Support Thread

    Hi Dave, Thanks for flagging this up - unfortunately I don't know what is causing this problem from the information provided. What would be really useful would be to know exactly what happened at the customer side - any error messages (or lack of messages) either from the site or the browser itself etc. So far I've not had reports of this specific problem from other users which unfortunately makes it even harder to track down. Is this happening frequently?
  6. perfectpassion

    Protx Direct v2.22

    Hi Peter, The scripts load at the top of the page and should normally be loaded by the time someone has had time to enter their credit card details and press submit. I suppose you could add the calls to load the script to the <head> section of checkout_payment so that the files are downloaded to the customer's pc on the previous page and should be in their cache for when they need them. To go back to the old style the module would need re-writing. It would be nice to get to the bottom of this problem - as I said previously it is in use on several very busy sites without issue. Can you PM me your email and I'll send over the latest version of the module which contains a few tweaks I've done - I can't say that any one of them would definitely fix your intermittent problem but you never know!
  7. perfectpassion

    Protx Direct v2.22

    Hi Peter, I'm not sure what the problem is. The latest version of the module is operating in a number of sites (several very busy) and I've not had feedback relating to this issue so I wonder if it may be a server issue. The only thing I can think is perhaps the jquery or thickbox javascript files are not downloading fast enough (though they are not particularly large) is the server is intermittently slow or the user's connection too slow, particularly as it doesn't seem to be any one browser. Are you on a shared or dedicated server?
  8. perfectpassion

    [Contribution] Protx Direct v5 Support Thread

    Yes, "Mark" integration would be the easiest. I'll see what I can do - I'm actually about to code this integration for a client who has a very heavily modified version of osc and the v5 module - I hope to get their permission to port back some of the code to this module.
  9. perfectpassion

    [Contribution] Protx Direct v5 Support Thread

    Possibly - since the release of PayPal via SagePay (about 1 year) you are only the second person to request it hence why it hasn't been a priority. Which type of integration would you be looking for - "Express Checkout" or "Mark" (Mark integration is where PayPal is simply presented as a card type option or similar, Express checkout has that big yellow button that bypasses the rest of the checkout process)?
  10. perfectpassion

    [Contribution] Protx Direct v5 Support Thread

    I did not pass judgement on if this was right or wrong, I mearly made a statement of fact about the differences between the two modules.
  11. perfectpassion

    [Contribution] Protx Direct v5 Support Thread

    The link you posted is for an "official, osCommerce certified" module. That module does not contain any of the admin-side features that my module includes (anti-fraud results, ability to refund/repeat/release payments, live status etc) and also does not use the "lightbox" type feature that my v5 module does on the customer side. It also contains a referral ID so that Harald receives commission. I shall continue to support my module for those that prefer to us it instead - minor update due in the next few days to correct an issue that a small number of people have had with "virtual" orders and an issue that sometimes presents during the 3D-Secure phase on IE6.
  12. perfectpassion

    Protx Direct v2.22

    The main difference is that the service URLs have changed. I suggest downloading the latest version of this module and upgrading your installation - all the changes are in the latest version.
  13. perfectpassion

    [Contribution] Protx Direct v5 Support Thread

    Have you modified checkout_process.php in any way?
  14. perfectpassion

    [Contribution] Protx Direct v5 Support Thread

    It is safe to comment out only on low volume sites. It is required because the order_id of an order is not known until we reach after_process() - the order_id before then is best guess - this normally works but it you have a busy site with several customers placing orders at the same time but some taking longer than others then the order_id in the protx_direct table will be wrong.
  15. perfectpassion

    [Contribution] Protx Direct v5 Support Thread

    That's quite odd. To follow the process: function before_process() { // Payment should be complete by this stage - if not abort order if (tep_session_is_registered('protx_id') && $_SESSION['protx_id'] > 0) { $this->protx_id = (int)$_SESSION['protx_id']; tep_session_unregister('protx_id'); } else { tep_redirect(str_replace('&amp','&', tep_href_link(FILENAME_CHECKOUT_PAYMENT, 'payment_error=protx_direct&error='.urlencode('Sorry, your order could not be processed as no payment transaction was found (ID Missing). Please try again or contact the store owner.'), 'SSL'))); } ... } So $this->protx_id from the session, then the session variable (not the class variable) is destroyed - if it isn't there you are redirected away so can't get to after_process() The only thing I can think is that something in checkout_process.php is causing the id to be lost.
×