PayU Hub & iyzico PSP Integration / Part1 / Create Test ENVs 
Tags: fintech, iyzico, payu, payuhub
Published: 2021-02-26 18:59:46

---
title: PayU Hub & iyzico PSP Integration / Part1 / Create Test ENVs 
published: true
description: 
tags: Fintech, iyzico, PayU, PayUHub
cover_image: https://dev-to-uploads.s3.amazonaws.com/uploads/articles/oc8hqlhh2yqc4k2lvjc3.jpg
series: PayU Hub & iyzico PSP Integration
---

_'The year 2020 is going to be an unforgettable year for all us...'_, the following report starts with.
https://www.iyzico.com/blog/iyzico-2020-online-alisveris-raporu/

Here in articles, we will be examining iyzico, namely the most known PSP of the Turkish lands with their association PayU Hub.

Before we dive into the payment world, let me share with you some KPIs from the report above that type in the Turkish language provided by iyzico;
- Average basket amount was 168 TL(Turkish Lira) in 2020, while 146 TL in 2019.:arrow_up:
- Increase in books is 267%:closed_book:
- Lastly, extra info you can't find on the report, iyzico was 100% uptime even in BF while half of the acquirers were down.:loudspeaker:

Of course, that success comes with such collaborations like PayU Hub&iyzico PSP integration, simply a world without financial borders.:star:

__TL DR;__
PayU Hub is PayU's single API payment integration to solve cross-border commerce challenges through technology.
https://corporate.payu.com/news/payu-hub-single-api-integration/
Also a PayU corporate, iyzico is a financial technology company facilitating online shopping.
https://www.iyzico.com/en

How those two come together? 
Let's get started.

First, we need two test ENVs, iyzico and PayU Hub, relatively.

__iyzico test ENV__
Please go to https://sandbox-merchant.iyzipay.com/auth/register/ and create a sandbox account for your test operations. Your static OTP is 123456. Overall, when you logged into your account, you may access your credentials under `Settings > Merchant Settings`, from the menu on the left.
![Alt Text](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/zzptfuvizo9d2u4bbi4b.PNG)

Once we get our credentials from iyzico test ENV, actually we are totally done on the iyzico platform. 

:warning: On this dual, we will be only focusing PayU Hub web services to integrate our PSP solution in the Turkish market. Then, next;

__PayU Hub test ENV__
Short and sharp, https://control.paymentsos.com/signup.
Once you have signed up for new account.
![Alt Text](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/9ydnlhghq6q1qxz8i5yt.PNG) _You’re just 3 steps away from accepting your first payment!_
 
So far so good. We have created our iyzico test account and our PayU Hub test account. It is time to follow those 3 steps!

__Step1;Add providers and configure your business units__
PayU Hub documentation is well created to follow everything in detail. As it is described on the link below, follow `Account > Services` and search for iyzico. As soon as you have chosen iyzico, fill in the blanks with credentials you get from iyzico test ENV. That's it, we have added our provider and configured our business units.
https://developers.paymentsos.com/docs/setting-up-payments-os.html

Before Step2, briefly 'Collect a customer’s card information' section, I would like to show you the easiest way of understanding(for me) any API architecture, in this case PayU Hub Postman Collection configuration. 
So, It is time read the Part2.:coffee: