Giter Site home page Giter Site logo

bossanova808 / commerceregisteroncheckout Goto Github PK

View Code? Open in Web Editor NEW
33.0 2.0 3.0 52 KB

ARCHIVED: SEE README Allow user registration during Craft Commerce V1 checkouts.

License: Other

PHP 96.32% HTML 3.68%
craft-commerce user-registration craft-plugin craftcms-plugin craftcms craft-commerce-plugin

commerceregisteroncheckout's People

Contributors

bossanova808 avatar msbit avatar philipzaengle avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

commerceregisteroncheckout's Issues

No one gets registered

The only log messages I get are: [Forced].

I am a bit confused. Using you sample code: how and when does the POST request get triggered? Don’t know where to start, really. Any pointers?

Support saving payment sources on register/checkout

In order to save payment sources on successful payment (for the gateways that support it), Craft Commerce requires to be logged in. Because this plugin creates the user after the payment, it cannot save payment sources.

FR: Allow registration after order is placed

In the current checkout workflow, we provide a (non-plugin based) ajax registration form on the order confirmation page (along with an order-invoice), with pre-filled hidden fields for firstName, lastName, and email from the order, so that all the user needs to enter is password. However, as you mention, the shipping and billing address is not currently saved to the customer account. Thus the interest in this great plugin.

However, if I understand correctly, this plugin will only work if registration is done during the checkout process, before payment is completed? It would be great if it would also work after the checkout process is completed, or anytime that there is a 'order' model available.

fyi... this is for a craft 3/commerce 2 implementation (you don't seem to have 'Issues' enabled for that fork.)

Making this available for Craft3

This is not the best place to ask this but I am wondering what is involved in moving this to Craft3? I haven't migrated a plugin from 2 > 3 but this seems like a very useful plugin.

Duplicated entry on craft_commerce_customers table created

Hi Jeremy,

First of all, thanks for this handy plugin.
I'm experiencing an issue where it seems that 2 different entries are created in the "craft_commerce_customers" table.

The first entry seems to be the default craft behaviour and the "Last Billing Id" and "Last Shipping Id" get mapped to this customer.

The second entry seems to be the one created by the CommerceRegisterOnCheckout plugin and the UserId gets map to this entry.

Everything else seems working as expected where and the user gets created and mapped to the second entry although it doesn't have any Billing or Shipping info mapped to it.

Im using Craft CMS 2.6.2959, Commerce 1.2.1334, and Commerce Register on Checkout 0.0.3.

I also have Commerce Widgets 1.0.3 and Commerce Stock Notifier 1.0.0 but they shouldn't be affecting the process.

Please let me know if you need any more info to try and replicate the issue.

Thanks heaps,
Alberto

Error after plugin install

This plugin looks like exactly what I need, but I've run into an error.

After installing the plugin but before any code has been added to the templates, this error happens when going through the checkout process on a fresh install of Craft Commerce (version 2.6.2959).

CDbCommand failed to execute the SQL statement: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'craft.craft_commerceregisteroncheckout' doesn't exist. The SQL statement executed was: select * from craft_commerceregisteroncheckout where orderNumber='df410f931c1af96c06f88b3342146300'

This is on the shop/checkout/payment page.

Should I manually create the table it's asking for?

Custom DB prefix not working

I just wanted to install the plugin but got the following error message:
CDbCommand failed to execute the SQL statement: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'd0227279.craft_commerceregisteroncheckout' doesn't exist

In my config/db.php I set a custom prefix, which is not 'craft' - it seems like the plugins does not take care of this.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.