Results 1 to 5 of 5
  1. #1
    Join Date
    Mar 2011
    Posts
    52
    Plugin Contributions
    0

    Default MODULE_PAYMENT_PAYPALWPP_TRANSACTION_MODE = "order"

    I am trying to set up a zen cart site using $options['PAYMENTACTION'] = "order" I did not see any setting in the admin to set this so I went into the payment module to see if I could hard code it.

    I noticed that there is a place in the code that does set this value to "order" but I am not sure where in the admin I would set the transaction mode. I have express checkout installed. The code I found was in paypalwpp.php on line 1437:

    if (MODULE_PAYMENT_PAYPALWPP_TRANSACTION_MODE == 'Order') $options['PAYMENTACTION'] = 'Order';

    I know I can hard code this but ideally I would like to do this the right way. Any help would be greatly appreciated.

    -Ken

  2. #2
    Join Date
    Jan 2004
    Posts
    66,444
    Plugin Contributions
    279

    Default Re: MODULE_PAYMENT_PAYPALWPP_TRANSACTION_MODE = "order"

    May I ask "why"?
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  3. #3
    Join Date
    Mar 2011
    Posts
    52
    Plugin Contributions
    0

    Default Re: MODULE_PAYMENT_PAYPALWPP_TRANSACTION_MODE = "order"

    I'm using zen cart to replace an older site. The current site uses "order" for paypal transactions.

    The reason for this is they only get a paypal authorization when an order is placed later they bill through the warehouse fulfillment system when an order ships using the authorization ID from the initial paypal transaction...in the case it is a partial order only part of the order is billed. From reading the paypal site it seems this is the purpose of using "order".

  4. #4
    Join Date
    Jan 2004
    Posts
    66,444
    Plugin Contributions
    279

    Default Re: MODULE_PAYMENT_PAYPALWPP_TRANSACTION_MODE = "order"

    In your admin if you simply switch to "Auth Only" instead of "Final Sale", it will send "authorization" as the action, which allows for subsequent capture activities after-the-fact. Both "Authorization" and "Order" allow for capture later.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  5. #5
    Join Date
    Mar 2011
    Posts
    52
    Plugin Contributions
    0

    Default Re: MODULE_PAYMENT_PAYPALWPP_TRANSACTION_MODE = "order"

    Thanks! I'll give that a try.

 

 

Similar Threads

  1. v150 Gigantic Flag pic in "Order Status" / Cannot re-order or edit "order status" text
    By lindagal2 in forum Managing Customers and Orders
    Replies: 6
    Last Post: 25 Aug 2016, 06:16 PM
  2. Replies: 1
    Last Post: 29 Jun 2015, 09:00 PM
  3. Changing "Default Order Status" from "Delivered" to "Shipped"
    By CookieMonster in forum Customization from the Admin
    Replies: 1
    Last Post: 25 Nov 2014, 12:22 AM
  4. How to change text in "Order Confirmation" and "Welcome to our Store" page?
    By SandraSD in forum Templates, Stylesheets, Page Layout
    Replies: 9
    Last Post: 15 Mar 2011, 03:59 AM
  5. Replies: 2
    Last Post: 10 Feb 2007, 05:23 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg