funded

ADA Pay Plugin - Wordpress/Laravel

$31,289.00 Received
$35,200.00 Requested
Ideascale logo View on ideascale
Community Review Results (1 reviewers)
Addresses Challenge
Feasibility
Auditability
Solution

Create a WordPress & Laravel plugin to enable ADA payments for the market of 1.4 Billion websites built using PHP.

Problem:

There is no high quality WordPress plugin for receiving ADA payments. 1/4 of all websites are built on WordPress, more than 2M on Laravel

Yes Votes:
₳ 132,530,298
No Votes:
₳ 11,065,727
Votes Cast:
753

This proposal was approved and funded by the Cardano Community via Project F8: Open Source Development Ecosystem Catalyst funding round.

[IMPACT]

Detailed Plan

This project proposes to build a plugin for anyone with a WordPress, Laravel, or PHP website to easily accept ADA as a payment option.

The plugin will include a setup wizard to guide users through set-up steps. Users can choose to accept ADA payments directly, or to connect to a COTI account if preferred. (To the extent that it's possible, the plugin would collect info and setup your COTI accounts for you - much like the way first-time Stripe setup works in WordPress!). The wizard would also guide users to the WooCommerce payment settings page, where they can enable/disable the tool.

To do this, we will create a PHP SDK (Softward Developement Kit). This involves original coding work, as well as testing and refining code elements that are available in existing code libraries for the latest COTI / ADA Pay API.

The final product will be delivered as:

-- a WordPress "Plugin", listed on the WordPress Plugin Directory
-- a Laravel "Package", available on Packagist.org and GitHub.
-- a PHP Open Library for use on any PHP based website

Our design intent is that 90% of users would be able to use the plugin "out of the box" - no developer experience necessary! NFT Artists, E-Commerce sites, and NGOs could start accepting ADA payments and donations immediately. For advanced integrations, developers would be able use and customize the PHP SDK directly.

The package and plugin wrapper will deploy with a 90% use case opinionated defaults with special consideration for NFT artists with little no programming experience.

More advance developers will be able to use the PHP SDK directly for custom integrations.

About Lido Nation

At Lido Nation, our mission is Cardano education, outreach, and global community building: Because the Future is for Everyone!

Our site invites community involvement by providing an interface to submit new content, comment and respond to existing content, record audio versions of articles, and propose new article ideas.

We are building new tools to teach blockchain content and promote humanitarian values, by using "real" Cardano blockchain tokens and transactions to allow community members to direct our charitable giving!

We have 40 articles published, covering a range of Cardano topics. We skip the hype and focus on the real good stuff that is happenning in Cardano, with the aim of publishing content that is understandable to newcomers, and educational for everybody.

We do not use any third party API for connecting the Cardano blockchain, and we run our own Cardano servers pieces.

We run a Cardano Developer Mentorship Lab in Kenya:

With 5 high power computers running Cardano infrastructure, trainees learn the ropes of developing on the Cardano network.

We mentor them to work with the Cardano architecture to solve a wide range of business problems.

Specific architecture pieces we run:

* Dbsync
* Relay node
* GraphQL
* Hasura
* Ogmios
* Wallet backend
* tx-submit api
* Plutus Application Backend [testnet only]
* PostgreSQL
* Prometheus

Motivation

We see that the next frontier of growth for Cardano won't be confined to Developer forums and GitHub repositories. Instead, it will be among our friends and small businesses, as they start to see and understand the applications of blockchain technology for their own lives and services. We hope they will see Cardano as the most exciting project out there, and we want to provide trusted resources and open source tools to help them learn, get build, and contribute.

Our Values

We believe that Cardano is a powerful platform paving the way for a future that works for everyone. To help connect that future with "everyone", information and resources must be available to all kinds of people, and written by all kinds of people. So we put a high value on accessibility and cross-cultural collaboration:

Explain groundbreaking technology in simple terms.

Provide a User-Friendly interface and thoughtful resources for non developers.

Facilitate original content creation from across cultures, via collaboration with our Lab in Kenya, and via content contribution channels on our site.

Above all, encourage people to get involved. We are huge fans of Project Catalyst and are excited to grow our capacity as leaders and mentors helping people to onboard into a variety of roles and participation with Project Catalyst.

Challenge Metric: increase the number and the quality of Cardano Open Source projects

--> Not only is the initial codebase being developed by an enterprise software engineer with over 14 of experience, it will be open source from day one for all to contribute.

Challenge Metric: increase the number of contributors

--> We are running a Cardano mentorship program in Kenya; Currently there are active mentees, and we have been funded to add 2 more starting in April 2022. This means new bright minds joining the the Cardano development community. They will be contributing to this project, and using it as a launching pad to other projects

Challenge Metric: increase of open source tools and frameworks from the community for the community (dog-fooding)

--> There is no user-friendly open source tool for ecommerce with ADA right now. This will give - for example- every single NFT artist currently in the Cardano ecosystem a free open source ecommerce solution. It will also increase Cardano exposure to the 400 million plus sites in the WordPress community by deploying the plugin to the WordPress economy.

COTI pay is not entirely open to the public yet; access to this new tool occurs through community networking and cooperating with the COTI team. We are already reaching out to the winners of the Fund 7 COTI challenge to start establishing those relationships.

[FEASIBILITY]

Roadmap

3 Month Milestones:

--Complete Initial research of exact v1 features
--Develop & Launch Alpha open source project
--Establish contribution guidelines and technology stack

6 Month Milestones:

--Release Beta version
--Manual onboarding of eCommerce sites and NFT artists.
--Launch documentation website
--Set Up GitHub-based support system

EOY 2022:

--Release V1 stable product release
--Deploy WordPress plugin to WordPress plugin directory.
--Deploy Laravel package to Packagist.org

Deliverables & Outputs

--> Deploy PHP open library to packagist.org
--> Deploy Laravel package wrapper to packagist.org
--> Deploy WordPress plugin to WordPress.org Plugin Directory
--> Onboard atleast 24 ecommerce sites to accept ADA (with or without COTI Pay)
--> Deploy wordpress plugin to wordpress.org plugin directory
--> Onboard atleast 24 ecommerce sites to accept ADA with or without COTI Pay.

$20,800 (65/hr): Core Development

--> Develop with 80% or more test coverage of core PHP library.
--> Code documentation of core PHP library.
--> Build WordPress plugin to consume library with tight woocommerce integration.
--> Build laravel package to provide more opinionated laravel friendly api to consume library.

$2,400 Product Website

--> User friendly website explaining the plugin and how to use documentation with non-techie language

$12,000 Email Support and limited Phone Support

--> Provide 12 to 24 hrs respond time email support 1yr.

About the Team

We are Cardano enthusiasts. With are a growing collective of dreamers who believe in providing insightful education about Cardano in plain English, Swahili, and Spanish. Most online blockchain content is written by and for developers and finance geeks. We break down complicated technical ideas for everyday people, and provide relevant news in quick bites, and build tools that everyone can use.

Our website is a resource for anyone who wants to learn what Cardano is, why they should care, and how they can participate. We want to make these resources accessible to as many people as possible.

Darlington is an engineer by day and at all times a dancer, humanitarian, idealist and entrepreneur. Darlington has deep knowledge about blockchain technology and broad experience in the Cardano ecosystem.

Stephanie is a teacher and technologist with a passion for helping non-profits navigate and capitalize on technology. She applies her communication skills at Lido Nation by writing and editing articles, and helping to organize ideas in a way that people can understand.

Dirk is an experienced designer and developer with a lot of love for tech, knowledge and art. He helps machines talk to humans and cleans up the mess the information age produces.

Our team at the newly-founded Friends of Ngong Road Blockchain Lab in Nairobi Kenya helps with reasearch, translation, and content creation.

Linked In Pages

<https://www.linkedin.com/in/phuffyking>

<https://www.linkedin.com/in/profd2004>

<https://www.linkedin.com/in/dmkraft/>

<https://www.linkedin.com/company/lido-nation>

[AUDITABILITY]

Progress tracking for this project is quite easy and transparent:

After 1 month

--> 1 to 2 day commits to github should be happening.

After 4 Months

--> at least 1 community project manually on boarded.

After 9 months

--> 4 to 5 community projects onboarded

--> WordPress plugin in beta and installable manually. Plugin website and user documentation launched

After 12 months

--> Wordpress plugin deploy to wordpress.org plugin directory

-> 24 or more community projects using plugin

-Plugin/Package is available on the WordPress Plugin Directory and at Packagist.org.

-At least 24 community projects are using the plugin to accept ADA.

-There good system for providing product support

-Other developers are contributing to open source libraries.

This is a new proposal. Submitted it last fund but didn't get funded.

## Past Unfunded Proposals

<https://www.lidonation.com/proposals/simple-fund-management-dao-sdk> - F7

<https://www.lidonation.com/proposals/opensource-php-sdk-for-coti-ada-pay> - F7 - this one!

<https://www.lidonation.com/proposals/spanish-news-insights-onboarding> - F6

## Past Funded Proposals

<https://www.lidonation.com/proposals/treasury-catalyst-proposal-api> - F6

<https://www.lidonation.com/proposals/newcomer-resources-en-espanol> - F7

<https://www.lidonation.com/proposals/translation-for-proposal-api-data> - F7

<https://www.lidonation.com/proposals/cardano-blockchain-lab-in-kenya> - F7

Community Reviews (1)

Comments

Development Updates

Merge pull request #12 from lidonation/dependabot/github_actions/dependabot/fetch-metadata-1.6.0

Author
github-actions[bot]
Date

Bump dependabot/fetch-metadata from 1.5.1 to 1.6.0

Author
dependabot[bot]
Date

Merge pull request #11 from lidonation/dependabot/github_actions/dependabot/fetch-metadata-1.5.1

Author
github-actions[bot]
Date

Bump dependabot/fetch-metadata from 1.5.0 to 1.5.1

Author
dependabot[bot]
Date

Merge pull request #10 from lidonation/dependabot/github_actions/dependabot/fetch-metadata-1.5.0

Author
github-actions[bot]
Date

Bump dependabot/fetch-metadata from 1.4.0 to 1.5.0

Author
dependabot[bot]
Date

Merge pull request #9 from lidonation/dependabot/github_actions/dependabot/fetch-metadata-1.4.0

Author
github-actions[bot]
Date

Bump dependabot/fetch-metadata from 1.3.6 to 1.4.0

Author
dependabot[bot]
Date

Merge pull request #8 from lidonation/dependabot/github_actions/dependabot/fetch-metadata-1.3.6

Author
github-actions[bot]
Date

Bump dependabot/fetch-metadata from 1.3.5 to 1.3.6

Author
dependabot[bot]
Date

Merge pull request #6 from lidonation/client_native_tokens_implementation

Author
Darlington
Date

logic to present native tokens pricings to the user

Author
michael_ochara
Date

refactoring PaymentService class and making use of env variables

Author
michael_ochara
Date

Fix styling

Author
michaelteddy009
Date

Fix styling

Author
profd2004
Date

code and test for payment service

Author
michael_ochara
Date

Fix styling

Author
michaelteddy009
Date

wip: example app and library views

Author
Darlington W
Date

Merge pull request #5 from lidonation/ticket_01365/paymentService

Author
Darlington
Date

refactoring ExchangeRateService tests and class to enable mocking in tests

Author
michael_ochara
Date

Merge pull request #3 from lidonation/dependabot/github_actions/dependabot/fetch-metadata-1.3.5

Author
github-actions[bot]
Date

Bump dependabot/fetch-metadata from 1.3.4 to 1.3.5

Author
dependabot[bot]
Date

Merge pull request #2 from lidonation/ticket_01364/exchangeRateService

Author
Darlington
Date

Using enviroment variables

Author
michael_ochara
Date

fluent design implementation

Author
michael_ochara
Date

Merge branch 'ticket_01364/exchangeRateService' of github.com:lidonation/cardanopayments into ticket_01364/exchangeRateService

Author
michael_ochara
Date

tests for currency verification and rate exchange functionalities

Author
michael_ochara
Date

Fix styling

Author
michaelteddy009
Date

exchange service logic

Author
michael_ochara
Date

adding guzzle package for handling HTTP

Author
michael_ochara
Date

Fix styling

Author
michaelteddy009
Date

setting up a simple php server with a index.php for testing the library

Author
michael_ochara
Date

reverting first attempt

Author
michael_ochara
Date

Fix styling

Author
michaelteddy009
Date

first attempt

Author
michael_ochara
Date

Merge pull request #1 from lidonation/ticket_01367/builtInPhpTestServer

Author
Darlington
Date

configure and set pestphp as the testing tool

Author
michael_ochara
Date

initial commit

Author
michael_ochara
Date

Update README.md

Author
Darlington
Date

Monthly Reports

digging in already. Exploring the current open source landscape of ada pay intergrations.

Disbursed to Date
$31,289
Status
Still in progress
Completion Target
12/25/2022
Comments 0

Login or Register to leave a comment!

Got a good idea of the current landscape of ada payments in the woocommerce/wordpress (limited and not user friendly) and laravel (non-existant) ecosystem. Got a plan and roadmap for my first deliverable. Next up, get coding!

Disbursed to Date
$31,289
Status
Still in progress
Completion Target
12/25/2022
Attachment(s)
Comments 0

Login or Register to leave a comment!

Making great progress on the base PHP lib. I suspect by the next report, we should be able to facilitate a basic payment flow with ADA. Then we will turn our attention to the WordPress plugin.

Disbursed to Date
$31,289
Status
Still in progress
Completion Target
3. In the next 6 months
Attachment(s)
Comments 0

Login or Register to leave a comment!

Didn't make too much progress this month. Still on track, the testnet/vasil incident has set me back a little bit; need to respin up my testnet infrastructure.

Disbursed to Date
$31,289
Status
Still in progress
Completion Target
2. In the next 3 months
Comments 0

Login or Register to leave a comment!

Did not have any opportunity to work on this all month, with voting, 24hr governance, and catalyst explorer improvements. I was able to add a new dev to the lab in kenya who will be able to help after onboarding is complete.

With voting over and the new dev coming onboard, we should be able to still deliver the project on time.

Disbursed to Date
$31,289
Status
Still in progress
Completion Target
2. In the next 3 months
Comments 0

Login or Register to leave a comment!

Since the last report we onboarded a new developer and moved the project to a new github repo. With the new dev and refactoring we should start seeing signification progress on a weekly basis. I'm confident we should be able deliver a minimum lovable product by end of January.

Disbursed to Date
$31,289
Status
Still in progress
Completion Target
2. In the next 3 months
Comments 0

Login or Register to leave a comment!

Now that Ethereum have migrated to proof of stake, we've been writing an article to walk people through proof of stake on both ethereum and Cardano. Piece should hopefully be published over the next couple of weeks.

Disbursed to Date
$31,289
Status
Still in progress
Completion Target
2. In the next 3 months
Comments 0

Login or Register to leave a comment!

Lots of great progress over the last month. Large, we have ExchangeService that will use price feeds to let clients specify their wares in USD, ADA, or EURO and receive payments in ADA or HOSKY with automatic exchange rate conversion.

We spent the rest of the time getting a basic reference implementation in pure html/css/js and php.

Next step now is the complete the reference implementation, test coverage, then move on to building the wordpress plugin to consume this repository.

Disbursed to Date
$31,289
Status
Still in progress
Completion Target
2. In the next 3 months
Comments 0

Login or Register to leave a comment!

close

Playlist

  • EP2: epoch_length

    Authored by: Darlington Kofa

    3m 24s
    Darlington Kofa
  • EP1: 'd' parameter

    Authored by: Darlington Kofa

    4m 3s
    Darlington Kofa
  • EP3: key_deposit

    Authored by: Darlington Kofa

    3m 48s
    Darlington Kofa
  • EP4: epoch_no

    Authored by: Darlington Kofa

    2m 16s
    Darlington Kofa
  • EP5: max_block_size

    Authored by: Darlington Kofa

    3m 14s
    Darlington Kofa
  • EP6: pool_deposit

    Authored by: Darlington Kofa

    3m 19s
    Darlington Kofa
  • EP7: max_tx_size

    Authored by: Darlington Kofa

    4m 59s
    Darlington Kofa
0:00
/
~0:00