Very simple apply body or container div
PHP, MySQL, Joomla, Wordpress and other CMSes as well as CSS, jScript, jQuery related tested & trusted references links will be posted here for every PHP enthusiasts references. Enjoy
Search This Blog
Friday, October 30, 2020
Monday, October 26, 2020
Square Payment Form PHP -- Customer linked to Payment Order
After lot of bang bang. I could find a way to do 3 tasks with Square Payment Form in PHP
- Check from Square Customer Director if USER EXISTS based on PHONE number - If yes Get "CUSTOMER ID" and MAKE PAYMENT
- If Customer does not exists in Directory -- CREATE A NEW USER -- GO & GET --> find CUSTOMER ID --> & MAKE PAYMENT
- Get PAYMENT ID & SAVE IT IN MySQL Database
PS : This is very crud way of scripting (hahaha). Had to find a way to get this project done. I found out simple way by using GOTO statement. Hope it will help you of my 3 weeks of in between projects and delivered.
ENV file -- env (without extension -- plain text file)
Genarate Square Idempotency Key CLASS) - square-functions.php
HTML FORM - paynow.php
PROCESS PAYMENT Page --- process-payment.php
Thursday, October 22, 2020
Create a New Customer in Square Payment Gateway
This script helps you to Create a new customer for your references to do business with. Open in API
This script Requires ENV script file (without FILE EXTENSION) at root -- env
Please Change your API CREDENTIALS accordingly
Add New Customer Form Page -- new-customer.php
Save New Customer to SQUARE -- new-customer.php
Sunday, October 18, 2020
SQUARE Paypement API -- is fucking stupid
Tell you what!!! Square SDK and APIs are so fucking stupid, do they even have working script example???
Nowadays we have many frameworks & CMS plugins --- if you keep popping "AUTHENTICATION_ERROR" -- how the fuck in your cunt are we gonna get it right & deliver product solution????
All SQUARE have for you is fucking WALK THROUGH in NODE???
can you host THIS NODE script on SHARED LINUX HOSTING???
who the fuck you think is kidding -- mother fuckers???
POST output -- all error
USUAL FUCKING SUSPECT --- which these fucking square developer section or ZERO CUSTOMER CARE never explains you where the fuck YOU HAVE GONE WRONG -- WHAT ARE THEY MOTHER FUCKERS AT SQUARE ARE ARROGANT ABOUT???.