Hello friends, today I will show you Sevenpay payment gateway integration using PHP. In my previous post I show you How to integration Paypal payment gateway using PHP?. But today I will teach you on Sevenpay payment gateway. SevenPay is a secure, international, online payment gateway that allow payments and money transfers to be made through the Internet. It has many key features like free account, no setup or monthly fee, 24/7 customer support, mobile devices compatible, every country is welcome and many more. You can check all of them here. They have demo or sandbox account for test transaction. So before live transaction you may have a chance to check the demo version then make your account live.

Before starting my application I recommend you to create a free account here. After creating account login from here. After login you have your own dashboard like below image. Now add your site by clicking “Add your site” link.
sevenpay




After adding your website you work is done. You can add multiple website in a same account. Sevenpay list all your website in menu. Every website has it’s own “ID”. You can find it in “SITES” menu. After one or two days they will send you a conformation mail about your website. If sevenpay grant you website you can do test transaction. When your site approved by sevenpay it automatically in test mode. If you satisfy with sevenpay gateway then you can conver your site from test mode to live mode. For more see this link after login.

Now I write my code for integrate Sevenpay payment gateway using PHP

Step 1: Create form for customer where they put their information.

Step 2: Creating a checking page to determine if it comes from sevenpay gateway or not. I name it return_approved.php

Step 3: Create a return.php where user will be redirected after successfull payment.

Step 4: Create return_declined.php where user will be redirected after incomplete payment.

Using the above method you can easily integrate sevenpay payment gateway in your website.

Spread the love
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  
Sevenpay payment gateway integration using PHP
Tagged on: