Month: December 2019

Hosted Payment Pages - Converge Pay - Godaddy

Converge Pay GoDaddy Elevon Hosted Payment Pages

How To Fix 500 Internal Server Error from a Hosted Payment Page on Godaddy Using Converge Pay from  Elevon

We are assuming that you have already implemented a hosted payment page with Converge Pay / Elevon.

 

If not, here is the documentation on how to create one: https://developer.elavon.com/#/api/eb6e9106-0172-4305-bc5a-b3ebe832f823.rcosoomi/documents?converge-integration-guide/book/integration_methods/hosted_payments.html

This post does not explain how to create the hosted payment page, rather how to troubleshoot your payment page if you are getting a 500 Internal Server Error from your request once you try to make a payment.

 

Adding the IP address from your website/server is the first step by providing this IP address to Elevon / Converge Pay and then testing your payment page to see if it works. You will need to call their support to add it.  

Elevon / Converge Pay Support 800-377-3962 > option 2 > option 2 again.

 

You will need your Merchant ID. Tell them you are using hosted payment pages and need to add your IP to their system. Stay on the phone with them and test your page again once they add the IP.

 

We recently moved a client from our hosting services over to Godaddy. The hosted payment page worked on our servers but once we moved them to Godaddy we encountered the dreaded 500 Internal Server Error. This was weird because it worked on two prior server installations. So, initially we thought that Godaddy was the culprit.  Well, the error above indicated that Converge Pay / Elevon was not even receiving the request and that the IP was blocked on their end.

 

ConvergePay / Elevon requires that the ip address from the website be added to their firewall in order to allow the authorization for the user to use the hosted payment page solution. In theory, we should have just been able to add Godaddy’s shared ip address within cPanel but this did not work.

 

After spending several hours going back and forth between Elevon and Godaddy support services, we ended up just purchasing a dedicated IP address from Godaddy after one of their engineers recommended this solution.  We then contacted Elevon, they added the IP and … NOPE! Didn’t work.  You will definitely need a dedicated IP address no matter what hosting account you are on but the caveat is that Godaddy does not POST from the same IP address as your dedicated IP address when making calls to Elevon or other services.

In order to find a solution for this, the team over at Elevon finally said, upload a php file onto the Godaddy account and use this URL (below) to see what the actual IP is that is posting to the hosted payment pages.

We created this simple script that you can upload to your Godaddy hosting account that will tell you exactly what the posting IP address is. And… WHALA!  Different IP address than our dedicated IP given to us from Godaddy.

Well, we contacted Elevon and added this new IP to their system and BINGO…. IT WORKS!

Of course make sure that your hosted payment page URLS are correct as below:

Live Site Session Token Request — https://api.convergepay.com/hosted-payments/transaction_token

 

Live Site Redirect Request (Once Session Token is Retrieved) https://api.convergepay.com/hosted-payments/

 

Also, make sure that your Elevon / ConvergePay user has API permissions within their system.

 

Lastly, if you are using an include or other file to include the access permissions and still having issues, add a few letters to the PIN and try the transaction again.  At this time, Elevon / ConvergePay will be able to see the failed PIN attempt. Then change the merchantUserID to something different and send another request. Lastly, change everything back to what it is supposed to be for the correct authorization.  Basically, Elevon / ConvergePay is caching the requested credentials and sometimes it puts the merchantID in as the merchantUserID as well, so doing the above will “kick it” so it sees the correct credentials.

 

$merchantID = “YOUR-MERCHANT-ID”;
//Converge 6-Digit Account ID *Not the 10-Digit Elavon Merchant ID*

$merchantUserID = “YOUR-API-USER-ID”;
//Converge User ID *MUST FLAG AS HOSTED API USER IN CONVERGE UI*

$merchantPIN = “YOUR-MERCHANT-PIN”;
//Converge PIN for use with user webpage above (64 CHAR A/N)

 

Hope this helps anyone else out there looking for a solution as I could not find one online.

 

Use file below. Copy the text, open a text editor like Notepad, Paste this code, Save the file as   myip.php then upload this file to your public (web) folder so that you can access it at  www.YOUR-DOMAIN.com/myip.php          It will fetch the ip from the server performing the post for the hosted payment page.

 

<?php
ob_start();
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL,’https://www.convergepay.com/hosted-payments/myip’);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$response = curl_exec($ch);
echo $response;
?>

 

 

FREE NO OBLIGATION QUOTES
Contact Us – Click Here or;
Call Toll Free (888) 578-8300.
WooCommerce SMS Twilio

How to Add SMS To WordPress w/ Twilio

How to easily add SMS Messaging to WordPress/WooCommerce with Twilio!

If you are interested in getting notifications of new orders, order status or other sms notices then here is a simple solution that works.

You will need:

– Twilio.com Account
– WordPress/WooCommerce
– Twilio SMS Notifications Plugin

 

We have provided a QUICK Setup below to get you started. If you are interested in the full documentation and setup, you can read WooCommerce Full Documentation on How To Add the Twilio Plugin and Configure Twilio and Firebase Here: https://docs.woocommerce.com/document/twilio-sms-notifications/

 

STEP 1:

Go to Twilio.com and sign up for an account. You will need to buy a phone number to use with this account and typically runs $1.00 per month on top of the message charges.

Once you have the account, you will need to copy the Account SID & Auth Code.

STEP 2:

Purchase the Plugin –> from here : https://woocommerce.com/products/twilio-sms-notifications/

Login to Worpdress and Add the Plugin and Activate it

Once it is installed, roll your mouse over WooCommerce in your WordPress Dashboard and select SETTINGS

Select the TAB  “SMS” from the top and then scroll down and enter the phone number you got from twilio above.  If in U.S. it should start with  +1  then the phone number.  Example:  +14093332222   Must be the number from your twilio account.

Then enter the SID and AUTH TOKEN.

Select SAVE at the bottom of the page. You can now scroll down to send a test message to yourself and you should get it.

If you need to ADD more phone numbers to receive messages, you will need to FIRST add them to Twillio as VERIFIED #’s then go into WooCommerce –> Settings –> SMS and add them to the ADMIN NUMBERS with the following format separated by commas with NO SPACES.EXAMPLE:   3 phone numbers.   (619)555-1212   (619)222-1111     (619)333-1111   would need to be added as  16195551212,16192221111,16193331111

Notice I added a “1” in front of each of the phone numbers. This is the country code for the United States. Add your country code without the + sign. Otherwise, it will not work correctly.

More Detailed WooCommerce Instructions Here: https://woocommerce.com/products/twilio-sms-notifications/

More Detailed Twilio Instructions Here:
https://docs.woocommerce.com/document/twilio-sms-notifications

 

If you have problems or would like us to set this up for you, please contact us.