• Resolved carlbutler73

    (@carlbutler73)


    Hi,

    Thanks for making afterpay an option. It’s increased revenue from point of update.

    Firstly on testing (logged into my admin account) I tried a live clearpay purchase. However the red banner appeared at the top of the checkout saying “No Such Customer %CUSTOMER-ID%” the %CUSTOMER-ID% is the customers stripe id saved within the user profile and automatically generated by Stripe I presume. I’m presuming this to be the case for all existing customers or admin users that’s used stripe before but I could be wrong, is this a known issue?

    Also in the UK its known as Clearpay. Could you implement a setting to change the logos on messaging and checkout to change to the relevant logo to the country.

    Lastly the gateway name setting doesn’t work for afterpay in the settings. I have inspected the source code and made the nessicary changes to make this work so no big drama but was just to let you know. The code looked like the below code

    $gateway_name = “”

    I simply entered Clearpay within the speech marks.

    Thanks again for implementing. Much appreciated.

    Carl

    Screenshot of Error

    • This topic was modified 3 years, 6 months ago by carlbutler73.
    • This topic was modified 3 years, 6 months ago by carlbutler73.
    • This topic was modified 3 years, 6 months ago by carlbutler73.

    The page I need help with: [log in to see the link]

Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Author Payment Plugins

    (@mrclayton)

    Hi @carlbutler73

    1. The no customer error means the stripe customer ID associated with your wordpress user does not exist in the stripe account you’re connected to. Most likely you switched accounts but did not delete the stripe customer ID associated with your wordpress user. Navigate to the word press admin and click the edit profile tab. Scroll down and you’ll see a field with the Stripe customer ID which you should remove then click save.

    2. The logo should auto update based on the locale of the users browser. Check to Jae sure your browser is using the proper locale.

    3. This is actually by design, the Afterpay design guidelines specify the Afterpay messaging should replace the gateway title on the checkout page. Therefore I have removed the gateway title with rendering Afterpay on the checkout page.

    Kind regards

    Thread Starter carlbutler73

    (@carlbutler73)

    Hi @mrclayton,

    Thanks for super quick reply.

    I see! I’ve checked on multiple browsers and all my browsers are set to English (UK) but the afterpay logos still appear. See screenshot

    Customer ID issue sorted. Thanks for that!

    Plugin Author Payment Plugins

    (@mrclayton)

    I’ll take a look at the docs and get back to you regarding the logo.

    Plugin Author Payment Plugins

    (@mrclayton)

    Check and see if your browser has an option for “en-GB”.

    According to the docs if your locale has that it will show Clearpay.

    Stripe Docs

    Thread Starter carlbutler73

    (@carlbutler73)

    I’m using google chrome and edge and both browsers are set to en-GB.

    I’ve also installed an extention to the browsers to force en-GB and still showing afterpay also the splash pop up states must be a resident of US.

    Plugin Author Payment Plugins

    (@mrclayton)

    I’ll test this myself and get back to you. It may be that Stripe engineers will have to get involved if it’s an issue with their internal SDK.

    Plugin Author Payment Plugins

    (@mrclayton)

    @carlbutler73 it looks like the Stripe Afterpay code isn’t using the browser’s locale like the docs state. In the next release I am adding the following logic:

    – on the checkout page, if the billing country is GB, locale en-GB is used so Clearpay logo shows

    – on product and cart pages, if currency is GBP, locale en-GB will be used so Clearpay logo is presented.

    Let me know if that logic makes sense.

    Kind Regards,

    Thread Starter carlbutler73

    (@carlbutler73)

    Sounds great. Thanks so much

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Afterpay issues’ is closed to new replies.