Support » Plugin: Simple Cart & Buy Now » Warning errors and Malformed URL component

  • Resolved tinyhands

    (@tinyhands)


    When I go to my checkout page, I get the following error:

    Warning: call_user_func_array() [function.call-user-func-array]: First argument is expected to be a valid callback, ‘scabn_google::google_shipping_XML’ was given in /home/crumplepopvps/www.crumplepop.com/wp-includes/plugin.php on line 170

    I apologize for my limited understanding in PHP… just trying to get this to work since Google’s documentation is really awful.

    Also, when I click on the Buy With Google button to finalize my order in the checkout page, this appears:

    This XML file does not appear to have any style information associated with it. The document tree is shown below.
    <error xmlns=”http://checkout.google.com/schema/2″ serial-number=”37644186-5ea6-4a7c-958a-f492546daa78″>
    <error-message>
    Malformed URL component: expected id: (\d{10})|(\d{15}), but got 06275614723247105286
    </error-message>
    </error>

    Oh uh…

    http://wordpress.org/extend/plugins/simple-cart-buy-now/

Viewing 11 replies - 1 through 11 (of 11 total)
  • Plugin Author bluey80

    (@bluey80)

    Take a look at http://wordpress.org/support/topic/on-localhost-getting-error?replies=7 as I believe that is the problem and I haven’t pushed a new release yet.

    That said, Google Checkout is going away in November, so you might not want to bother setting up Google as it is about to be discontinued.

    tinyhands

    (@tinyhands)

    Thank you for your help! I hope this post will be useful for other plugin users. For me, I need to use the Google Wallet function so we can collect reviews that will show on our adwords ads.

    Thanks again!

    I’m attempting to set up SCABN and get the Malformed URL component: expected id: (\d{10})|(\d{15}), but got <my merchant ID>
    </error-message>

    Items are put in the cart, but when I try to “check out” using Google wallet, this is the error I get. Help?

    Just an addon to the above post – I’m using Google Wallet, not Google checkout, and hoping this will work for digital downloads, currently thorugh Google Checkout, but trying to move to Google Wallet.

    Plugin Author bluey80

    (@bluey80)

    Google Checkout has been shutdown by Google, so I wouldn’t expect the BuyNow buttons to still work. My understanding of Google Wallet (and I could be wrong, their documentation hasn’t been easy to follow) is that it isn’t a mechanism to make payments (like Paypal is or Google Checkout was) but a way for customers to store CC info for quick payments, but e-eCommerce sites still need to have some CC processing backend to use Google Wallet.

    There IS a Google Wallet API, and it CAN be used as a payment processor, however my coding skills are not such that I can write the plugin to make it work. At least, mnot int he time frame my client needs ti. 🙁 I’ve looked at other carts and plugins and I’m not having much luck finding anything that implements digital downloads AND Google Wallet payment gateway. Looks like we’ll need to go with another gateway.

    Thanks for the updated information.

    Plugin Author bluey80

    (@bluey80)

    Can you post a link to the Google Wallet API and maybe an overview of what it does and how it works as a payment processor?

    https://developers.google.com/commerce/wallet/

    Covers mobile apps, as well as digital goods

    https://developers.google.com/commerce/wallet/digital/docs/samples are code samples – which I may play around with when I get some time. 🙂

    Plugin Author bluey80

    (@bluey80)

    Yes, I see the API, what I don’t see if Google Wallet can act as a credit card processor. It seems like Google Wallet is a middle-man for getting / transferring CC information but then that info needs to go to a CC processor. If this is the case, then you need not just Google Wallet, but also a CC processor and it isn’t clear if SCABN would then need to be coded up for each different CC processor, etc. Maybe Google Wallet hides that and you can just support the Google Wallet API. Or maybe Google Wallet can be a CC processor, but I can’t find any documentation on this.

    Plugin Author bluey80

    (@bluey80)

    Actually, I want to sign up for a Google Wallet Instant Buy and when I said I couldn’t accept CC’s, I got this message:

    Google Wallet Instant Buy does not process payments and merchants are required to have their own payment processor.
    We have logged your contact information and may contact you in the future as we expand our program.

    So using Google Wallet requires having 3rd party CC processing support.

    Yes, it does appear that way. Client has decided Paypal will suffice for now (she was using Google Checkout, which no longer works, as of today) so we are reconfiguring SCABN to do Paypal.

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘Warning errors and Malformed URL component’ is closed to new replies.