I am developing on magento 1.5
I have created a payment module for direcpay,but now i want to integrate that module of magento with direcpay site.I use this link for create a payment module.
how to create a module
and its code can be found here
code
Thanks!
Related
I'm working on a project for adding an external pre-registration page with Stripe to a Wordpress website.
The wordpress is already in place. But the pre-registration page needed the Stripe module, working on back-end...
So I've decided to make a SPA outside this wordpress to have this pre-registrations set up for the next customers.
But now, I'm struggling from days to find how to put this project online, I may definitely need your help for that.
I have this file structure:
File structure
It's nothing more than a single page + a single css file and a single server.js file, that I need to start to interact with the Stripe API.
But I also need some modules like Stripe, which is the key function of this project.
I thought about bundling it with webpack (only the back-end, as the front is only composed of 1 html and 1 css file). Then upload it on my web host.
Haven't found any working way to do so.
I'd like to try some cloud services like Netlify, but I don't even think that it could work without bundling the server side
Everything works perfectly on localhost, but I'm absolutely unable to make it works in prod with a real domain name. And I'm already late to deliver it.
Do you have an idea on how I could do that?
Thanks
I have an app which has a specific endpoint for every single user
sitename.com/user1
sitename.com/user2
sitename.com/user3
Every user endpoint is supposed to be a mini website.
Now I want to create and assign a subdomain to each of the users still linking to each of their mini websites like:
user1.sitename.com
user2.sitename.com
user3.sitename.com
I’m building all these using Nodejs And Express.
What’s the best option for getting this done?
Thanks in advance.
I'm building a Shopify embedded application with two main points of functionality:
Upon install, product meta fields are populated with some values
Upon page load, a custom script is injected into product page through shopify ScriptTag api
The injected script displays some icon alongside the values from product meta fields.
Currently, from the product page, the injected script is having to request the meta fields from my local server, which then queries the clients shopify for before sending back the response.
Is there a way to access the meta field values directly from the product page, without having to do the above?
Thanks in advance.
The injected script only fires at page load on frontend, while accessing metafields is only possible via Liquid or Shopify API. The data flow that you have right now is the standard way of doing things in Shopify in such cases. However, considering performance implications or for whatever reasons, if you still want to achieve this, you can make use of Liquid.
Doing so can be done in 2 ways.
Provide a Liquid code snippet
Use Shopify API to add Liquid code snippet on App installation
Liquid Code Snippet
Once a user installs your app, provide them a Liquid code snippet to integrate in to their theme. That liquid code snippet should expose the Meta Fields to some JavaScript variable, that your injected script will read.
Shopify API to add Liquid code snippet
If you don't want the users to integrate the Liquid code snippet manually, then on Application install, make use of Theme Assets API to add you Liquid code snippet to the clients' active theme. This will need additional App permissions from users on install. Also factor in different available themes and removing code snippet from theme when App is uninstalled.
You haven't mentioned the resource where you will be creating metafields, but sample Liquid code snippet should look something like
<script>
var customMetaField = {shop.metafields.namespace.fieldname}
</script>
In your custom App script read the variable customMetaField. This is just a rough idea, you will need to check if the metafield namespace and the metafields exist and then output the values accordingly.
Shop Metafields
My script is working perfect, i am using this sample : https://github.com/TwilioDevEd/sdk-starter-node
i tried everything to connect users with custom name, but i cant do it. i am new in node js
you can see code at github
https://github.com/TwilioDevEd/sdk-starter-node/blob/master/public/video/quickstart.js
it is auto generating names. but i want to use my user's names.
can you help me?
I simply need a free open-source CMS to change design, layout and content at the front-end. I want to add payment processes at the back-end like paypal and stripe. It would be good if its in expressJS.
I'm going to create a new CMS in Node.js using Express.js for creating awesome blogs or shops, at all any website.
Its name is OpenPress.
You can get news about it here.
If you have any feature request or improvement, you can send an email to Me or file the issue at the OpenPress repository.