bossanova808 / commerceregisteroncheckout Goto Github PK
View Code? Open in Web Editor NEWARCHIVED: SEE README Allow user registration during Craft Commerce V1 checkouts.
License: Other
ARCHIVED: SEE README Allow user registration during Craft Commerce V1 checkouts.
License: Other
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?
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.
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.)
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.
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
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?
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.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.