Page 1 of 2 12 LastLast
Results 1 to 10 of 821

Hybrid View

  1. #1
    Join Date
    Jun 2013
    Location
    United Kingdom
    Posts
    41
    Plugin Contributions
    5

    Default Re: Square Payment Module for Zen Cart [Support Thread]

    Quote Originally Posted by g2ktcf View Post
    ZC 1.5.7.c
    One Page Checkout
    Fluorspar Template
    IH5
    Backup MySQL

    Yep, that flat CC field with no input field is exactly what I have.

    Done and verified

    Done and verified.

    I have not seen any console errors nor any php errors. I have validated HTTPS was well. What am I missing?
    What's your storefront URL please? Feel free to PM if preferred.

  2. #2
    Join Date
    Feb 2011
    Location
    Lumberton, TX
    Posts
    629
    Plugin Contributions
    0

    Default Re: Square Payment Module for Zen Cart [Support Thread]

    I am testing this one an older store so do not let the URL fool you. radiant-holidays.com/Test. This is not the live store.

  3. #3
    Join Date
    Nov 2006
    Posts
    127
    Plugin Contributions
    0

    Default Re: Square Payment Module for Zen Cart [Support Thread]

    Hello,
    sometimes I get an error mail when a customer wants to pay by Square:

    Error Dump: stdClass Object
    (
    [errors] => Array
    (
    [0] => stdClass Object
    (
    [code] => VALUE_EMPTY
    [detail] => Field must not be blank
    [field] => source_id
    [category] => INVALID_REQUEST_ERROR
    )


    [1] => stdClass Object
    (
    [code] => VALUE_EMPTY
    [detail] => Field must not be blank
    [field] => idempotency_key
    [category] => INVALID_REQUEST_ERROR
    )


    [2] => stdClass Object
    (
    [code] => MISSING_REQUIRED_PARAMETER
    [detail] => Field must be set
    [field] => amount_money
    [category] => INVALID_REQUEST_ERROR
    )
    )
    )

    I can not find out what the reason is. Minutes before and after people paid successfully.
    Zen Cart version 1.5.5f
    Square module: 1.5
    php-version 7.3.28
    Last edited by todoonada; 22 Jun 2021 at 05:07 AM.

  4. #4
    Join Date
    Jun 2013
    Location
    United Kingdom
    Posts
    41
    Plugin Contributions
    5

    Default Re: Square Payment Module for Zen Cart [Support Thread]

    Quote Originally Posted by todoonada View Post
    Hello,
    sometimes I get an error mail when a customer wants to pay by Square:

    Error Dump: stdClass Object
    (
    [errors] => Array
    (
    [0] => stdClass Object
    (
    [code] => VALUE_EMPTY
    [detail] => Field must not be blank
    [field] => source_id
    [category] => INVALID_REQUEST_ERROR
    )


    [1] => stdClass Object
    (
    [code] => VALUE_EMPTY
    [detail] => Field must not be blank
    [field] => idempotency_key
    [category] => INVALID_REQUEST_ERROR
    )


    [2] => stdClass Object
    (
    [code] => MISSING_REQUIRED_PARAMETER
    [detail] => Field must be set
    [field] => amount_money
    [category] => INVALID_REQUEST_ERROR
    )
    )
    )

    I can not find out what the reason is. Minutes before and after people paid successfully.
    Zen Cart version 1.5.5f
    Square module: 1.5
    php-version 7.3.28
    Are these definitely triggered by payment attempts? Looking at the core code, amount_money is only used during refunds.

  5. #5
    Join Date
    Nov 2006
    Posts
    127
    Plugin Contributions
    0

    Default Re: Square Payment Module for Zen Cart [Support Thread]

    Quote Originally Posted by RocketSites View Post
    Are these definitely triggered by payment attempts? Looking at the core code, amount_money is only used during refunds.
    Yes, they are triggered by payment attempts. I followed the customer on "Who's online" and saw the on the payment site. Then they went to checkout_confirmation and I received the mail the error. Then customer went to the payment site again and same error happens.

  6. #6
    Join Date
    Nov 2006
    Posts
    127
    Plugin Contributions
    0

    Default Re: Square Payment Module for Zen Cart [Support Thread]

    Quote Originally Posted by todoonada View Post
    Hello,
    sometimes I get an error mail when a customer wants to pay by Square:

    Error Dump: stdClass Object
    (
    [errors] => Array
    (
    [0] => stdClass Object
    (
    [code] => VALUE_EMPTY
    [detail] => Field must not be blank
    [field] => source_id
    [category] => INVALID_REQUEST_ERROR
    )


    [1] => stdClass Object
    (
    [code] => VALUE_EMPTY
    [detail] => Field must not be blank
    [field] => idempotency_key
    [category] => INVALID_REQUEST_ERROR
    )


    [2] => stdClass Object
    (
    [code] => MISSING_REQUIRED_PARAMETER
    [detail] => Field must be set
    [field] => amount_money
    [category] => INVALID_REQUEST_ERROR
    )
    )
    )

    I can not find out what the reason is. Minutes before and after people paid successfully.
    Zen Cart version 1.5.5f
    Square module: 1.5
    php-version 7.3.28
    I got another error now.

    [errors] => Array ( [0] => stdClass Object ( [code] => INVALID_ACCOUNT [detail] => Authorization error: 'INVALID_ACCOUNT' [category] => PAYMENT_METHOD_ERROR ) )

    The same customer ordered the day before without any problem.

  7. #7
    Join Date
    Jun 2013
    Location
    United Kingdom
    Posts
    41
    Plugin Contributions
    5

    Default Re: Square Payment Module for Zen Cart [Support Thread]

    Quote Originally Posted by g2ktcf View Post
    I am testing this one an older store so do not let the URL fool you. radiant-holidays.com/Test. This is not the live store.
    Thanks.

    Looks like you're using the standard Square module, and it appears that the issue only occurs after the order total changes (e.g. after changing the shipping method) - correct?

  8. #8
    Join Date
    Feb 2011
    Location
    Lumberton, TX
    Posts
    629
    Plugin Contributions
    0

    Default Re: Square Payment Module for Zen Cart [Support Thread]

    I do not remember ever seeing the fields there. Now that I think about it, I do not know if I ever created a cart from scratch after installing the module. I will go back and test that. Be advised that this site is running in a subdirectory of the .com url and we have seen some issues with that from other plugins.

  9. #9
    Join Date
    Feb 2011
    Location
    Lumberton, TX
    Posts
    629
    Plugin Contributions
    0

    Default Re: Square Payment Module for Zen Cart [Support Thread]

    Quote Originally Posted by RocketSites View Post
    Thanks.

    Looks like you're using the standard Square module, and it appears that the issue only occurs after the order total changes (e.g. after changing the shipping method) - correct?
    You are correct. I logged back in as the customer, emptied the cart. Then added a different item and went to checkout. The fields were there. Once I clicked the shipping type, the fields went away.

  10. #10
    Join Date
    Feb 2011
    Location
    Lumberton, TX
    Posts
    629
    Plugin Contributions
    0

    Default Re: Square Payment Module for Zen Cart [Support Thread]

    Quote Originally Posted by RocketSites View Post
    Thanks.

    Looks like you're using the standard Square module, and it appears that the issue only occurs after the order total changes (e.g. after changing the shipping method) - correct?
    Okay, so first off, I move the site from www.example.com/test to a www.example.com as there were several smaller issues that were driving me nuts. That move solved many of the nagging issues. However, this one is now reproducible at www.wlcartistrydesign.com. I have gone into the Chrome Developer console to get the CC field info AFTER selecting the shipping method. The CC fields were visible (although not in a visually appealing way.) Here is the data in the console for the elements.
    Click image for larger version. 

Name:	Screen Shot 06-26-21 at 08.29 AM.PNG 
Views:	92 
Size:	37.6 KB 
ID:	19652

    Notice that all the div IDs have no content...

    When I go back and ADD an item, the fields are back...

    Click image for larger version. 

Name:	Screen Shot 06-26-21 at 08.36 AM.jpg 
Views:	93 
Size:	23.2 KB 
ID:	19653

    What is going on here?

    Here is the element details when the fields are visible. Completely different that the first time.

    Click image for larger version. 

Name:	Screen Shot 06-26-21 at 08.38 AM.jpg 
Views:	112 
Size:	75.3 KB 
ID:	19654
    Last edited by g2ktcf; 26 Jun 2021 at 02:39 PM.

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. WordPress® for Zen Cart® (wp4zen) [Support Thread]
    By DivaVocals in forum All Other Contributions/Addons
    Replies: 109
    Last Post: 1 Dec 2024, 01:36 PM
  2. Bambora/Beanstream Payment Module Support Thread
    By swguy in forum Addon Payment Modules
    Replies: 127
    Last Post: 26 Mar 2021, 04:13 PM
  3. v154 Support Thread: AddToAny for Zen Cart (The Universal Sharing Platform)
    By DivaVocals in forum All Other Contributions/Addons
    Replies: 8
    Last Post: 8 Apr 2019, 02:39 PM
  4. Layaway Payment Module Support Thread
    By Danielle in forum Addon Payment Modules
    Replies: 0
    Last Post: 21 Nov 2006, 06:43 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