Page 7 of 9 FirstFirst ... 56789 LastLast
Results 61 to 70 of 82
  1. #61
    Join Date
    Mar 2012
    Posts
    16
    Plugin Contributions
    1

    Default Re: Dwolla Payments module

    Quote Originally Posted by Limitless View Post
    Sweet.

    So adding the following:


    "Discount": 0.00,
    "AllowFundingSources": "true",


    Will give Dwolla Users the ability to get a discount for using it (assuming that is a percentage) and now customers can initiate a transaction without needing to have a Dwolla account.
    Kind of... actually the "allowFundingSources" needs to be OUTSIDE the "purchaseOrder" array so that it looks like this (note the bold and where it is, otherwise it will not show the right screen in dwolla):
    $dwollaJson = array(
    'key' => MODULE_PAYMENT_DWOLLA_API_KEY,
    'secret' => MODULE_PAYMENT_DWOLLA_API_CODE,
    //'callback' => zen_href_link('dwolla_main_handler.php', '', 'SSL',false,false,true),
    'redirect' => zen_href_link(FILENAME_CHECKOUT_PROCESS, 'referer=dwolla', 'SSL'),
    'callback' => 'put your callback url here: we do not have a handler yet, but this is where it will go',
    //sending custid,sendto, billto, and zenSessionid as orderid. Will split this up in dwolla_main_handler.php (our future callback file)
    'orderId' => $_SESSION['customer_id']. '::' . $_SESSION['billto'] . '::' . $_SESSION['sendto'] . '::' . zen_session_id(),
    'test' => (MODULE_PAYMENT_DWOLLA_SERVER == 'Test') ? 'true' : 'false',
    'allowFundingSources' => 'true',
    'purchaseOrder' => array(
    'destinationId' => MODULE_PAYMENT_DWOLLA_DESTINATION_ID,
    'discount' => $discount,

    'shipping' => $shipping,
    'tax' => $tax,
    'total' => $total - $dwolladiscount,
    'orderItems' => $items,
    'notes' => 'Order from ZenCart. Session Name ' . zen_session_name() . ' / ID #' . zen_session_id()
    )
    );

    Additionally, about the discounts, in the dwolla.php file, you will see the $dwolladiscount var. You can use one of the following two ways (note that the one for a percentage is commented out)
    // This can be discounts, low order fees, etc
    // When the value is negative, it means that
    // theres a discount(s) applied.
    // When the value is positive, there's a
    // fee applied.
    //The following is for no discount on an exact money amount:
    $dwolladiscount = 0.00;
    // Or use this for a percentage of say 1.5% fpr using dwolla:
    // $dwolladiscount = $total * 0.015
    $discount -= $dwolladiscount;
    if($discount > 0) {
    $items[] = array(
    'Description' => 'Extra Merchant Fees',
    'Name' => 'Fee',
    'Price' => $discount,
    'Quantity' => 1
    );
    } else {

    }

    What we could do is wrap that whole section up into an if condition and get environment information from settings in the modules configuration to use either the percentage or the dollar amount dynamically. I am still working on the callback feature so that this thing works pretty much like a paypal version so the orders are handled via server to server calls. I am looking to see how to move the orders from the customer basket table to the orders table without losing anything, and whether that needs to be done via the ZENID or the CustomerId. One of the two will need to be passed to dwolla and then it will be returned both as a server to server call AND as url parameters when the user is redirected back to the site. Clearly we would rather the server to server handle that as we do not know the user will always land back on the site.

    I will keep you posted. In the meantime, if you know anything about how to handle the movement of baskets to orders, let me know. And if you have any questions about the other stuff, let me know that too :-)

    Cheers

  2. #62
    Join Date
    Jan 2004
    Posts
    66,373
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: Dwolla Payments module

    Quote Originally Posted by MPCReRuN View Post
    I am still working on the callback feature so that this thing works pretty much like a paypal version so the orders are handled via server to server calls. I am looking to see how to move the orders from the customer basket table to the orders table without losing anything, and whether that needs to be done via the ZENID or the CustomerId. One of the two will need to be passed to dwolla and then it will be returned both as a server to server call AND as url parameters when the user is redirected back to the site. Clearly we would rather the server to server handle that as we do not know the user will always land back on the site.
    And how exactly would you prevent duplicate orders in the event of a race condition?
    Sounds like you're building something that's fraught with all the undesired side effects of the antiquated and less reliable IPN module.
    Does their gateway not allow for reliable real-time verification?
    .

    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. #63
    Join Date
    Feb 2011
    Posts
    99
    Plugin Contributions
    0

    Default Re: Dwolla Payments module

    i spoke to micheal at dwolla. the new "guest checkout" has been submitted to zen-cart. i was just wondering when it will be in the payment modules plugins page?

  4. #64
    Join Date
    Jun 2005
    Location
    Portland, OR
    Posts
    189
    Plugin Contributions
    0

    Default Re: Dwolla Payments module

    This new module is great, however even when inactive (but installed) it absolutely destroys my site CSS on the payment page. Anyone else seeing this?

  5. #65
    Join Date
    Jan 2012
    Posts
    488
    Plugin Contributions
    0

    Default Re: Dwolla Payments module

    Quote Originally Posted by bi11i View Post
    This new module is great, however even when inactive (but installed) it absolutely destroys my site CSS on the payment page. Anyone else seeing this?
    Just updated to the latest version and I am not seeing anything weird with css issues.

  6. #66
    Join Date
    Jan 2012
    Posts
    488
    Plugin Contributions
    0

    Default Re: Dwolla Payments module

    The new module is missing something I think.

    I assume the second text box below the API is for the 'Secret' but its missing the definition.

    Also, what are all the other blank boxes for below the payment zones?

    Click image for larger version. 

Name:	dwolla.jpg 
Views:	49 
Size:	24.3 KB 
ID:	12492

  7. #67
    Join Date
    Jun 2005
    Location
    Portland, OR
    Posts
    189
    Plugin Contributions
    0

    Default Re: Dwolla Payments module

    Quote Originally Posted by Limitless View Post
    Just updated to the latest version and I am not seeing anything weird with css issues.
    here's what i see when the module is simple installed (not active, but just installed.) I have to remove the whole thing to remedy the enlargement issue.

    Click image for larger version. 

Name:	dw1.jpg 
Views:	50 
Size:	79.2 KB 
ID:	12493
    Click image for larger version. 

Name:	dw2.jpg 
Views:	47 
Size:	74.2 KB 
ID:	12494

  8. #68
    Join Date
    Jan 2012
    Posts
    488
    Plugin Contributions
    0

    Default Re: Dwolla Payments module

    Quote Originally Posted by bi11i View Post
    here's what i see when the module is simple installed (not active, but just installed.) I have to remove the whole thing to remedy the enlargement issue.

    Click image for larger version. 

Name:	dw1.jpg 
Views:	50 
Size:	79.2 KB 
ID:	12493
    Click image for larger version. 

Name:	dw2.jpg 
Views:	47 
Size:	74.2 KB 
ID:	12494

    That's pretty strange. Do you have firebug or developer tools installed so you can see what css is getting loaded?


    Completely as an aside, I see you are a David Thorne fan.

    :*)

  9. #69
    Join Date
    Jun 2005
    Location
    Portland, OR
    Posts
    189
    Plugin Contributions
    0

    Default Re: Dwolla Payments module

    haha, i just noticed that little bubble up there in the pic. yes, a fan for sure.

    i could get firebug put in place but i'm not knowledgeable enough to see what the issue would be. let me do some more digging.

    Quote Originally Posted by Limitless View Post
    That's pretty strange. Do you have firebug or developer tools installed so you can see what css is getting loaded?


    Completely as an aside, I see you are a David Thorne fan.

    :*)

  10. #70

    Default Re: Dwolla Payments module

    I am seeing the exact same behavior. Latest version of Dwolla Module, Zencart 1.3.9h

    When I click install and fill out the boxes, fonts on checkout_payment and subsequent steps get supersized. Happens even when Dwolla is not enabled. Click remove button and all is back to normal.

    I would love to get this installed - please help!




    Quote Originally Posted by bi11i View Post
    here's what i see when the module is simple installed (not active, but just installed.) I have to remove the whole thing to remedy the enlargement issue.

    Click image for larger version. 

Name:	dw1.jpg 
Views:	50 
Size:	79.2 KB 
ID:	12493
    Click image for larger version. 

Name:	dw2.jpg 
Views:	47 
Size:	74.2 KB 
ID:	12494
    Doug Kerfoot
    KeyLlama.com

 

 
Page 7 of 9 FirstFirst ... 56789 LastLast

Similar Threads

  1. v151 Problem with dwolla: Couldn't validate Dwolla's signature
    By neonfyr in forum Addon Payment Modules
    Replies: 0
    Last Post: 3 Feb 2013, 12:54 AM
  2. v151 Dwolla questions
    By neonfyr in forum Addon Payment Modules
    Replies: 0
    Last Post: 19 Jan 2013, 05:49 AM
  3. Dwolla, Secure Pay (US), and oogle Checkout...
    By bittermike in forum Addon Payment Modules
    Replies: 0
    Last Post: 5 Oct 2012, 07:59 AM

Bookmarks

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
Zen-Cart, Internet Selling Services, Klamath Falls, OR