How to install ecwid payment gateway template - wordpress

I'm currently working on the wordpress ecwid plugin. In order to develop my own payment method, I downloaded on github their payment gateway template that I'm now trying to install on my wordpress ecwid shop without success. Please, would you know how to proceed? Thank you for your attention.

It's Gunter from Ecwid team. I see you reached out to us via email too. We've addressed the email request. And we will post the answer here too, just in case.
If you want to integrate a custom payment to your Ecwid store, you should follow these steps:
Register a custom app. You can do that at this direct link: https://my.ecwid.com/#develop-apps
Provide us with the payment URL (your own server) to which Ecwid will send the payment requests. You can send us your URL to apps#ecwid.com email and we'll add it to your app.
After that, when your customers choose your own payment at checkout and click on the “Pay” button, Ecwid will send a POST request with the cart data to your server payment URL. And your customer will be also redirected to this URL. So, you can show any external page to them after redirection.
After redirection, your server needs to get cart details from the request, decrypt it and send it to the payment provider in a correct format for processing. After the payment is processed, your server needs to update the order status and redirect the customers back to the Ecwid storefront.
You can find more details about how the custom payment apps work here: https://api-docs.ecwid.com/docs/how-payment-method-works

Related

Woo-commerce is not redirecting to ccavenue gateway after filing billing information

I am having an issue with my woocommerce portal where i am using ccavenue as a payment gateway. for integration of ccavenue I am using plugin (https://wordpress.org/plugins/ccavanue-woocommerce-payment-getway/) to setup the credentials received by the ccavenue portal like merchant id, access_code and merchant key.
When an user trying to purchase something, product is successfully added in the cart, and able to navigate to checkout page, but when user click on "Place order" button after filing all the required information such as billing details, the page is not redirecting to the gateway, it is remain on the same page (after reload). and i am unable to figure out what is causing the issue as it is not giving any error or console error.
1: wordpress is updated at its updated version
2: woocommerce and plugin is also updated.
please suggest how could I check the issue of this problem.

Wordpress Przelewy24 plugin no email notification

I'm developing shop on wordpress and I added payments like PayU, bank transfer, BLIK and Przelewy24. But the problem is that customer don't get email confirmation after buy a product by Przelewy24. Every other payment method is working fine - customer get email confirmation directly form shop email.
With Przelewy24 there is no emails, only from Przelewy24 but no from shop. I'm wondering why, cuz emails is enabled globally in Woocommerce and it should work with every method.
Moreover I installed plugin WP Mail Log to check sending emails and... yeah, there is no logs, with this method- shop don't send emails.
What can I do more, or where else can I check this?

Testing PayPal Donations with a Sandbox Account

I have a WordPress form that processes data and redirects to this url to complete the PayPal donation
https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=sb-5mepe4127835%40business.example.com&currency_code=USD&amount= <amount>&return=http://example.local/about
However, when I submit the form I receive this error from PayPal
We can't complete your donation. This organization's account is inactive.
What am I missing? The reason I have it setup this way is because I want WordPress to save the form data and send a thank you/confirmation email after the payment is complete.
https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=sb-5mepe4127835%40business.example.com&currency_code=USD&amount=&return=http://example.local/about
When testing with any sandbox account, change the domain to point to the www.sandbox.paypal.com sandbox environment , i.e.
https://www.sandbox.paypal.com/cgi-bin/webscr?cmd=_donations&business=sb-5mepe4127835%40business.example.com&currency_code=USD&amount=&return=http://example.local/about

Wordpress ecommerce email

I have to deliver a WordPress eCommerce website but what if I give the role of editor to my client will he still get emails about the orders received on the website? Actually this is my first eCommerce website
The e-commerce email (the address that receives the order notification) should have it's Name and password, it is sure that he can receive the received order notification from the email if you provide him with the credentials of this email address. If he could access the website on the backend he could also access the orders.
You just have to write the email of the client in the Settings section of the WordPress. Your client will still get emails.
He can even get the emails without getting the complete access to the wordpress. This is how I am doing it for my client at maheenandco. You just need to put his email address. You can use multiple emails. You will find the option in woo commerce settings.

WordPress Plugin Development - Post request

Am developing wordpress plugin that makes donation, through lcoal online payment providers. After payment complete a post request should be sent to the website.
My question is how to make specific wordpress page receive post request using the plugin i created
Indeed, this question is unclear.
But to what I understand, you want that a specific page that would be provided by a user of your plugin, be called upon completion of the payment.
Your plugin would allow entering that page in the plugin's configuration.
If it's that, as an example, Paypal does it : See https://developer.paypal.com/docs/classic/paypal-payments-standard/integration-guide/step_3/, Take customers to this URL when they finish checkout : They call back the URL passed to their site, upon payment completion.
In your case, you must see with your local online payment provider if he supports that feature and call it with such URL as parameter.

Resources