mkzaman wrote:
I have fresh installed nopcommerce and I installed real one page checkout. Each time, I refresh the checkout page a new value inserted in nop Address table. What's the problem here ?
Hi mkzaman,
I would like to inform you that you can now download the latest version of the plugin.
The plugin does not create new addresses every time after each refresh anymore but it reuses the existing addresses.
As a matter of fact the plugin needs to create 2 temporary addresses used during the checkout.
One for the Billing Address and another one for the Shipping address.
These addresses are needed since they are used by the Shipping and Payment providers as well as the Tax providers in nopCommerce. This way the customers that checkout can have up to date information about their order total, available shipping and payment methods etc.,
while they make changes to the addresses i.e changing the country.
So it is inevitable to have these 2 checkout addresses.
The actual problem was that we created 2 new addresses each time the customer does a checkout, which should't happen and we should reuse these addresses.
Now we reuse this addresses and we don't create new ones if they already exist.
Please note that these changes don't affect the functionality of the plugin. The plugin was working fine with or without the fix.