ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls12;
Smartstore Error
#21
Geschrieben: 19 February 2018 - 19:55
Marcus Gesing
Smartstore AG
#22
Geschrieben: 19 February 2018 - 20:06
Hello, I really appreciate your effort, I actually did that in my code before making the request as shown below:
I noticed that is not reaching the log line in bold
PLEASE NOTE THAT THE METHOD IS AN ASYNCHRONOUS METHOD WHICH IS BEING CALLED IN A SYNCHRONOUS METHOD I.E. PostProcessPayment METHOD
#23
Geschrieben: 19 February 2018 - 21:55
And where and how gets GetPayStackPaymentReferenceUrl() called? You either...
- ...must await for the method to complete, or
- ...wrap your function call in Task.Run(...), or
- ...use our AsyncRunner.RunSync() wrapper to call your method, or
- ...just don't do async stuff
Murat Cakir
SmartStore AG
#24
Geschrieben: 19 February 2018 - 23:08
Hello,
Thanks for the feedback, i removed the async implementation and it worked, it is now redirecting to the payment gateway.
But i have another issue, it requires a callback url to be specified, i followed the method in paypal implementation which is
_services.WebHelper.GetStoreLocation(store.SslEnabled) + "Plugins/SmartStore.PayStack/PayStack/ConfirmPayment";
but didn't work
How can i generate a callback url with the following details:
Controller name: PayStackController
actionName: ConfirmPayment
This is my RouteProvider implementation
#25
Geschrieben: 20 February 2018 - 00:01
Hello,
I have corrected the error, it actually from my Routeprovider, i didn't specify the controller part of the url in the routes.MapRoute method.
The payment gateway is now working fine.
But i noticed something, while i was still designing the payment gateway, if an error occurred in the PostProcessPayment override method where the redirection takes place, the cart items are empty and the customer won't see any item in the basket also when i check the dashboard, i see it as pending payment, how can i prevent this, I mean if error occurs in the PostProcessPayment, i want to preserve the items in the cart and not mark it as pending payment.
Thanks
#26
Geschrieben: 20 February 2018 - 10:43
Marcus Gesing
Smartstore AG
#27
Geschrieben: 20 February 2018 - 11:12
Hello Marcus,
You have being of great help to me, thanks a lot. The payment plugin is now working as required. Really appreciate your effort.
But please i need some few things:
1. is it possible to customize the products by adding suppliers with their respective account numbers so that when payments are made using the plugin, they are created directly.
2. How can i design a custom module for the site, i need a chat module to integrate with it and i want to create it and install on the site.
Thanks
#28
Geschrieben: 20 February 2018 - 15:34
Marcus Gesing
Smartstore AG
#29
Geschrieben: 21 February 2018 - 07:09
Hello Marcus,
Thanks for the reply.
Since it's not possible out of the box, perhaps it could be possible in the paid version.
Also can i add custom properties when registering a product.
Thanks
#31
Geschrieben: 27 July 2018 - 07:19
Hello Marcus,
Thanks a lot for your assistance while i was creating a plugin. Please i would like to ask is it possible to register products by different sellers. I mean i want a situation whereby a product can be sold by different sellers and the customer gets to choose from a seller.
Thanks
#32
Geschrieben: 27 July 2018 - 08:37
Marcus Gesing
Smartstore AG
#33
Geschrieben: 27 July 2018 - 08:41
Thanks Marcus for the reply.
Please would this be available this year because i can see the request was made in Nov 2015, also how can i make use of multi-shop feature pending when multi-vendor is available.
Thanks
#34
Geschrieben: 27 July 2018 - 08:46
No, probably not this year. An exact date has not yet been determined. I can't say details about multi-vendor yet.
Marcus Gesing
Smartstore AG
#35
Geschrieben: 27 July 2018 - 08:56
Thanks Marcus, you have always being of great help. Hope am not disturbing you.
would like to know if it's possible to extend the Product Info page like adding custom properties which will be accessible while making payment (properties like Seller Id and Seller Name).
Thanks
#36
Geschrieben: 27 July 2018 - 11:26
Yes, it's possible by using widgets but I would check whether the built-in features are not sufficient for this purpose, for example product and checkout attributes.
Marcus Gesing
Smartstore AG
#37
Geschrieben: 27 July 2018 - 11:33
Please Assist while you help with the last request:
I cloned the repo on github, built the solution successfully but while running the install, i got this error:
Setup failed: Unable to update database to match the current model because there are pending changes and automatic migration is disabled. Either write the pending model changes to a code-based migration or enable automatic migration. Set DbMigrationsConfiguration.AutomaticMigrationsEnabled to true to enable automatic migration.
Help
#38
Geschrieben: 27 July 2018 - 12:46
add-migration Merge -IgnoreChanges
Marcus Gesing
Smartstore AG
#39
Geschrieben: 27 July 2018 - 13:26
Hello Marcus,
Thanks for the reply, but I got this new error
More than one migrations configuration type was found in the assembly 'SmartStore.Data'. Specify the name of the one to use.
#40
Geschrieben: 27 July 2018 - 13:37
Hello Marcus,
I was able to resolve the above error but found another one again