Page 3 of 5 FirstFirst 12345 LastLast
Results 21 to 30 of 672

Hybrid View

  1. #1
    Join Date
    Sep 2008
    Location
    Cleethorpes
    Posts
    1,227
    Plugin Contributions
    6

    Default Re: Square WebPay support thread.

    Quote Originally Posted by johnjlarge View Post
    Can confirm it is all working as expected using the latest production API and having tested it with various cards here in the UK. Running on php 7.3 and ZC 1.5.6c without issues. @carlwhat thanks so much for your work on this, and as someone else based in the UK, it would be amazing to be able to buy you some cake, but Venmo doesn't work here. Any other way?

    While I'm here I'm having a senior moment, but probably due to some health issues I'm having at the moment. I'm trying to get the card payment form to appear below the radio box, so it doesn't sit over to the right hand side. See screenshot. The CSS bumps it down just fine on smaller screens & mobile, but on large desktop screens its looking a little wonky.

    Attachment 19937
    John are you using One Page Checkout?
    Nick Smith - Venture Design and Print
    https://venturedesignandprint.co.uk

  2. #2
    Join Date
    Oct 2007
    Location
    Cornwall/Amsterdam
    Posts
    61
    Plugin Contributions
    0

    Default Re: Square WebPay support thread.

    No, just the standard checkout shipping>checkout payment>checkout confirmation workflow.

  3. #3
    Join Date
    Sep 2008
    Location
    Cleethorpes
    Posts
    1,227
    Plugin Contributions
    6

    Default Re: Square WebPay support thread.

    Quote Originally Posted by johnjlarge View Post
    No, just the standard checkout shipping>checkout payment>checkout confirmation workflow.
    Yeah got it working without OPC, so something going wrong with it with OPC. Not sure what but looks like a Jquery issue or something. I've even tried it with the latest OPC and get the same issue.

    I wonder if lat9 (Cindy) can help?
    Nick Smith - Venture Design and Print
    https://venturedesignandprint.co.uk

  4. #4
    Join Date
    Jul 2016
    Location
    London
    Posts
    258
    Plugin Contributions
    0

    Default Re: Square WebPay support thread.

    Have it working now with webpay

    the square would not work for me.

  5. #5
    Join Date
    Oct 2008
    Posts
    378
    Plugin Contributions
    0

    Default Re: Square WebPay support thread.

    Has anyone here managed to get Apple Pay to work via the Square Web Pay plugin. On Square's developer site it seems to say that as well as verifying the domain we need to add some code to certain pages on our site.

    Can anyone help with this as ApplePay seems to be getting quite popular.

    Thanks as always

    Step 2: Attach Apple Pay to the page
    The Apple Pay payment method needs information about the buyer and the payment amount before it can open the Apple Pay sheet. Your application creates a PaymentRequest object to provide that information and then gets a new ApplePay object initialized with it.

    The following code creates the payment request and attaches the ApplePay method to the page:

    Add an HTML element to the prerequisite walkthrough form with an ID of apple-pay-button. The HTML for the body of index.html should look like the following:



    <form id="payment-form">
    <!-- Add the below element -->
    <div id="apple-pay-button"></div>
    <div id="card-container"></div>
    <button id="card-button" type="button">Pay $1.00</button>
    </form>
    <div id="payment-status-container"></div>
    Add a style element and button style properties in the <head> tag. For a reference of Apple Pay button styles, see Styling the Apple Pay Button Using CSS.

    Add the following functions to the script tag:



    function buildPaymentRequest(payments) {
    return payments.paymentRequest({
    countryCode: 'US',
    currencyCode: 'USD',
    total: {
    amount: '1.00',
    label: 'Total',
    },
    });
    }

    async function initializeApplePay(payments) {
    const paymentRequest = buildPaymentRequest(payments)
    const applePay = await payments.applePay(paymentRequest);
    // Note: You don't need to `attach` applePay.
    return applePay;
    }

    In the DOMContentLoaded event listener, add the following code after you initialize the ApplePay method:



    let applePay;
    try {
    applePay = await initializeApplePay(payments);
    } catch (e) {
    console.error('Initializing Apple Pay failed', e);
    // There are a number of reason why Apple Pay might not be supported.
    // (such as Browser Support, Device Support, Account). Therefore you should
    // handle
    // initialization failures, while still loading other applicable payment
    // methods.
    }

  6. #6
    Join Date
    Aug 2012
    Posts
    40
    Plugin Contributions
    0

    Default Re: Square WebPay support thread.

    I'm encountering a problem since my upgrade to 1.5.8a from 1.5.7
    PHP Version: 7.4.33 (host wont upgrade to 8.X, moving hosts next month)
    Refreshed token, everything is green on the admin of square webpay module.

    When a customer completes and pays for an order, the order in admin says this at the top.
    "The configuration of the order's payment module (square_webPay) has changed. No refunds, auths, captures or voids can be done for this order."
    Order comes through but payment is basically DOA, module is set for authorization but can't capture,void, or do anything.
    What could be causing this error?

  7. #7
    Join Date
    Nov 2005
    Location
    los angeles
    Posts
    2,702
    Plugin Contributions
    11

    Default Re: Square WebPay support thread.

    Quote Originally Posted by wtfbbq View Post
    I'm encountering a problem since my upgrade to 1.5.8a from 1.5.7
    PHP Version: 7.4.33 (host wont upgrade to 8.X, moving hosts next month)
    Refreshed token, everything is green on the admin of square webpay module.

    When a customer completes and pays for an order, the order in admin says this at the top.
    "The configuration of the order's payment module (square_webPay) has changed. No refunds, auths, captures or voids can be done for this order."
    Order comes through but payment is basically DOA, module is set for authorization but can't capture,void, or do anything.
    What could be causing this error?
    you need to look at the code right here:

    https://github.com/zencart/zencart/b....php#L517-L520

    specifically line 518. one of those 3 conditionals is failing.

    it works fine on my test system. not sure what could be causing that.
    author of square Webpay.
    mxWorks has premium plugins. donations: venmo or paypal accepted.
    premium consistent excellent support. available for hire.

  8. #8
    Join Date
    Aug 2012
    Posts
    40
    Plugin Contributions
    0

    Default Re: Square WebPay support thread.

    line 518 from 1.5.8 admin/orders.php is exactly the same as the github code.
    Interesting enough, I rolled the 1.5.7d admin/orders.php file back and it works again.
    What else should I look for?

  9. #9
    Join Date
    Oct 2008
    Posts
    378
    Plugin Contributions
    0

    Default Re: Square WebPay support thread.

    Can anyone please help with this?

    Quote Originally Posted by Congerman View Post
    Has anyone here managed to get Apple Pay to work via the Square Web Pay plugin. On Square's developer site it seems to say that as well as verifying the domain we need to add some code to certain pages on our site.

    Can anyone help with this as ApplePay seems to be getting quite popular.

    Thanks as always

    }

  10. #10
    Join Date
    Jan 2004
    Location
    N of San Antonio TX
    Posts
    9,188
    Plugin Contributions
    11

    Default Re: Square WebPay support thread.

    This may help. Let us know if it works for you.
    https://developer.squareup.com/docs/...ents/apple-pay

 

 
Page 3 of 5 FirstFirst 12345 LastLast

Similar Threads

  1. Square Payment Module for Zen Cart [Support Thread]
    By DrByte in forum Addon Payment Modules
    Replies: 749
    Last Post: 5 Sep 2023, 01:16 AM
  2. Hebrew Support - latest release [Support Thread]
    By eranariel in forum Addon Language Packs
    Replies: 19
    Last Post: 23 Jan 2023, 08:04 AM
  3. Square Support for SqPaymentForm ending 15th July 2022
    By brittainmark in forum Addon Payment Modules
    Replies: 1
    Last Post: 9 Apr 2022, 02:40 PM
  4. v156 Square Payments and strange request from Square
    By ianhg in forum General Questions
    Replies: 4
    Last Post: 14 Nov 2020, 11:14 AM
  5. v156 PWA, Offline support Push notifications addon [Support Thread]
    By perfumbg in forum All Other Contributions/Addons
    Replies: 0
    Last Post: 23 May 2019, 02:27 PM

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