{"id":5206,"date":"2020-01-18T12:19:57","date_gmt":"2020-01-18T16:19:57","guid":{"rendered":"https:\/\/www.freelancinggig.com\/blog\/?p=5206"},"modified":"2020-01-18T12:19:58","modified_gmt":"2020-01-18T16:19:58","slug":"how-to-integrate-a-paypal-payment-gateway-in-php","status":"publish","type":"post","link":"https:\/\/www.freelancinggig.com\/blog\/2020\/01\/18\/how-to-integrate-a-paypal-payment-gateway-in-php\/","title":{"rendered":"How to Integrate a PayPal Payment Gateway in PHP"},"content":{"rendered":"<p>An e-commerce website is not considered to be complete without\nthe payment gateway linked to it. There are various payment gateways and you\ncan select from, but most famous and renowned online payment gateway is known\nto be PayPal. This is an American Platform which has been also around for about\ntwo decades. As an initial level, it was also known as Confinity, though after\nthe year 2001 it was known as PayPal.<\/p>\n\n\n\n<p>PHP is known to be the common platforms for the e-commerce\nwebsites. PHP is known to be secure, fast as well as much trusted language when\nit is about the industry of banking and financial. Now various websites of\ne-commerce also run on PHP platform.<\/p>\n\n\n\n<p>Mentioned Below are some of the functions that we can perform in\nprocess of demonstration for integrating PayPal in PHP.<\/p>\n\n\n\n<ol class=\"wp-block-list\"><li>The button of PayPal buy pulls the products from database and from webpage.<\/li><li>When a buyer will click on the button of PayPal, the buyer will redirects to page of PayPal, where the payment gets processed.<\/li><li>Here, buyer will be redirected to webpage subsequent to payment done at the PayPal; the details of payment will be accessible on webpage.<\/li><\/ol>\n\n\n\n<p>Moreover, PayPal has the sandbox atmosphere for testing the functionalities prior to that it gets live by the developer. In such a way a software developer will be able to iron out any of the issues even before the business begins accepting the payments from other customer. The developer may also simply get access to sandbox through signing up for the sandbox account at PayPal.<\/p>\n\n\n\n<p>Mentioned below is a step-by-step guide, now let us learn about\ntips of integrating the PayPal payment gateway in the PHP.<\/p>\n\n\n\n<p><em><strong>Step 1: Create Sandbox Accounts<\/strong><\/em><\/p>\n\n\n\n<p>Below mentioned are some the steps through which you can open a\nPayPal sandbox account<\/p>\n\n\n\n<ol class=\"wp-block-list\"><li>The initial most thing that you need it having the PayPal account. In <a class=\"glossaryLink\"  href=\"https:\/\/www.freelancinggig.com\/blog\/glossary\/case\/\"  data-gt-translate-attributes='[{\"attribute\":\"data-cmtooltip\", \"format\":\"html\"}]'  tabindex='0' role='link'>case<\/a> you don&rsquo;t have a PayPal account, you need to sign up for free. In case you already have an account on PayPal, you need to head to PayPal developer page and then simply sign in.<\/li><li>After this, you need to click on Dashboard; that is quite much visible on top side of the navigation.<\/li><li>Then click on accounts which are available under sandbox label.<\/li><li>You will also see that there is buyer account that is created by default; it is created through the email-buyer.<\/li><li>You also need to make a merchant account by choosing the account type and the country name and after that click on the button create account.<\/li><\/ol>\n\n\n\n<p><em><strong>Step 2: Create Tables for Database<\/strong><\/em><\/p>\n\n\n\n<p>You require two tables that can store\nthe product along with the payment information in database. The mentioned SQL\nquires make the product along with the payment tables in database of MySQL.<\/p>\n\n\n\n<p><em><strong>Step 3: Setting of PayPal and configuration of Data (config.php)<\/strong><\/em><\/p>\n\n\n\n<p>Consent variables related to gateway\nof PayPal are mainly defined in file of config.php.<\/p>\n\n\n\n<p><em><strong>Step 4: Connect the Database through dbConnect.php<\/strong><\/em><\/p>\n\n\n\n<p><em><strong>Step 5: List the Products in the Index file (index.php)<\/strong><\/em><\/p>\n\n\n\n<ol class=\"wp-block-list\"><li>The products get pulled from database and they are listed on webpage<\/li><li>The PayPal buy the button that gets placed at side of every product<\/li><li>For accessing the payment gateway at PayPal, you should submit a form of HTML with the predefined variables of PayPal.<\/li><\/ol>\n\n\n\n<p><em><strong>Step 6: Make the payment Successful (success.php)<\/strong><\/em><\/p>\n\n\n\n<p>When you make the payment and it gets successful, you need to\ntake the below mentioned steps.<\/p>\n\n\n\n<ol class=\"wp-block-list\"><li>Subsequent to the payment being successful at PayPal, buyer gets redirected to the page<\/li><li>With the help of PHP$_Get method, you can retrieve the transaction data from URL<\/li><li>The complete information and details about payment get saved in database and it is mainly based on transaction id<\/li><li>You can find the payment details on webpage<\/li><\/ol>\n\n\n\n<p><em><strong>Step 7: Cancelation of Payment (cancel.php)<\/strong><\/em><\/p>\n\n\n\n<p>If the buyer wants to cancel the payment done at PayPal, they need to get redirected at the payment cancelation page.<\/p>\n\n\n\n<p><em><strong>Step 8: Setup of the Payment Transfer and PayPal Auto-Return<\/strong><\/em><\/p>\n\n\n\n<p>It is mainly required to get complete details of the transaction\nback through PayPal; in case this is not available, you will be able to get the\nrequisite details at just few clicks.<\/p>\n\n\n\n<p>All you need to do is follow the below mentioned steps<\/p>\n\n\n\n<ol class=\"wp-block-list\"><li>Log in to the Business PayPal account <\/li><li>Click on profile that is available on the TAB&#x201D; my account&#x201D;<\/li><li>Click on hosted payment services and choose the link of website payments preferences<\/li><li>Choose the radio button and click on &#x201C;Auto Return,&#x201D; and then enter and redirect the URL in given field<\/li><li>Now, click on button that says &#x201C;Payment data transfer.&#x201D;<\/li><li>Finally Click on Save<\/li><\/ol>\n\n\n\n<p><em><strong>Step 9: Setup of the IPN<\/strong><\/em><\/p>\n\n\n\n<p>Suck kind of setup is needed to make payment more secure. The initial most thing that you need to do is adding below code to HTML with variables of PayPal.<\/p>\n\n\n\n<p>You need to now log into the Paypal Business account and follow\nbelow mentioned steps:<\/p>\n\n\n\n<ol class=\"wp-block-list\"><li>Click on button gear icon to reach the settings<\/li><li>Move to selling tools and then click on the notification of instant payment.<\/li><li>After this click on IPIN settings page <\/li><li>After this, enter notification URL and allow getting the IPN messages<\/li><li>Now click on save button <\/li><\/ol>\n\n\n\n<p><em><strong>Step 10: Set up the trxn and Validate Transaction<\/strong><\/em><\/p>\n\n\n\n<p>Once your IPN gets enabled, PayPal will help to send some\ninstant notifications of transaction. Add below mentioned code to ipn.php that helps\nto validate transaction and save details of payment in the database.<\/p>\n\n\n\n<p><strong>Conclusion<\/strong><strong><\/strong><\/p>\n\n\n\n<p>It is really simple to integrate the Payment Gateway in PayPal By\nfollowing such steps, you must be able to simply integrate the payment gateway\nof PayPal with PHP successfully. In case you face any of the issues, you may feel\nfree to visit PayPal and check if you have a solution available there. Or if\nrequired you may also hire the PHP developer who also has an experience to integrate\nthe PayPal with PHP.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>An e-commerce website is not considered to be complete without the payment gateway linked to it. There are various payment gateways and you can select &#x2026;<\/p>\n","protected":false},"author":3,"featured_media":5208,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[149],"tags":[1735,1733,1734,1732,377],"class_list":["post-5206","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-startup-resources","tag-integrate-paypal-payment-gateway","tag-payment","tag-payment-gateway","tag-paypal","tag-php"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.3 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>How to Integrate a PayPal Payment Gateway in PHP - Developers, Designers &amp; Freelancers - FreelancingGig<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.freelancinggig.com\/blog\/2020\/01\/18\/how-to-integrate-a-paypal-payment-gateway-in-php\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Integrate a PayPal Payment Gateway in PHP - Developers, Designers &amp; Freelancers - FreelancingGig\" \/>\n<meta property=\"og:description\" content=\"An e-commerce website is not considered to be complete without the payment gateway linked to it. There are various payment gateways and you can select ...\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.freelancinggig.com\/blog\/2020\/01\/18\/how-to-integrate-a-paypal-payment-gateway-in-php\/\" \/>\n<meta property=\"og:site_name\" content=\"Developers, Designers &amp; Freelancers - FreelancingGig\" \/>\n<meta property=\"article:published_time\" content=\"2020-01-18T16:19:57+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2020-01-18T16:19:58+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.freelancinggig.com\/blog\/wp-content\/uploads\/2020\/01\/paypal-to-php-again.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"418\" \/>\n\t<meta property=\"og:image:height\" content=\"269\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Kitty Gupta\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Kitty Gupta\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"5 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.freelancinggig.com\\\/blog\\\/2020\\\/01\\\/18\\\/how-to-integrate-a-paypal-payment-gateway-in-php\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.freelancinggig.com\\\/blog\\\/2020\\\/01\\\/18\\\/how-to-integrate-a-paypal-payment-gateway-in-php\\\/\"},\"author\":{\"name\":\"Kitty Gupta\",\"@id\":\"https:\\\/\\\/www.freelancinggig.com\\\/blog\\\/#\\\/schema\\\/person\\\/48f1ba04a6bf525d5251b2eda9c7bb0c\"},\"headline\":\"How to Integrate a PayPal Payment Gateway in PHP\",\"datePublished\":\"2020-01-18T16:19:57+00:00\",\"dateModified\":\"2020-01-18T16:19:58+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.freelancinggig.com\\\/blog\\\/2020\\\/01\\\/18\\\/how-to-integrate-a-paypal-payment-gateway-in-php\\\/\"},\"wordCount\":996,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/www.freelancinggig.com\\\/blog\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/www.freelancinggig.com\\\/blog\\\/2020\\\/01\\\/18\\\/how-to-integrate-a-paypal-payment-gateway-in-php\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.freelancinggig.com\\\/blog\\\/wp-content\\\/uploads\\\/2020\\\/01\\\/paypal-to-php-again.jpg\",\"keywords\":[\"Integrate PayPal Payment Gateway\",\"Payment\",\"Payment Gateway\",\"PayPal\",\"PHP\"],\"articleSection\":[\"Startup Resources\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.freelancinggig.com\\\/blog\\\/2020\\\/01\\\/18\\\/how-to-integrate-a-paypal-payment-gateway-in-php\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.freelancinggig.com\\\/blog\\\/2020\\\/01\\\/18\\\/how-to-integrate-a-paypal-payment-gateway-in-php\\\/\",\"url\":\"https:\\\/\\\/www.freelancinggig.com\\\/blog\\\/2020\\\/01\\\/18\\\/how-to-integrate-a-paypal-payment-gateway-in-php\\\/\",\"name\":\"How to Integrate a PayPal Payment Gateway in PHP - Developers, Designers &amp; Freelancers - FreelancingGig\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.freelancinggig.com\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.freelancinggig.com\\\/blog\\\/2020\\\/01\\\/18\\\/how-to-integrate-a-paypal-payment-gateway-in-php\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.freelancinggig.com\\\/blog\\\/2020\\\/01\\\/18\\\/how-to-integrate-a-paypal-payment-gateway-in-php\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.freelancinggig.com\\\/blog\\\/wp-content\\\/uploads\\\/2020\\\/01\\\/paypal-to-php-again.jpg\",\"datePublished\":\"2020-01-18T16:19:57+00:00\",\"dateModified\":\"2020-01-18T16:19:58+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.freelancinggig.com\\\/blog\\\/2020\\\/01\\\/18\\\/how-to-integrate-a-paypal-payment-gateway-in-php\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.freelancinggig.com\\\/blog\\\/2020\\\/01\\\/18\\\/how-to-integrate-a-paypal-payment-gateway-in-php\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.freelancinggig.com\\\/blog\\\/2020\\\/01\\\/18\\\/how-to-integrate-a-paypal-payment-gateway-in-php\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.freelancinggig.com\\\/blog\\\/wp-content\\\/uploads\\\/2020\\\/01\\\/paypal-to-php-again.jpg\",\"contentUrl\":\"https:\\\/\\\/www.freelancinggig.com\\\/blog\\\/wp-content\\\/uploads\\\/2020\\\/01\\\/paypal-to-php-again.jpg\",\"width\":418,\"height\":269},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.freelancinggig.com\\\/blog\\\/2020\\\/01\\\/18\\\/how-to-integrate-a-paypal-payment-gateway-in-php\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.freelancinggig.com\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to Integrate a PayPal Payment Gateway in PHP\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.freelancinggig.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/www.freelancinggig.com\\\/blog\\\/\",\"name\":\"Developers, Designers &amp; Freelancers - FreelancingGig\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.freelancinggig.com\\\/blog\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.freelancinggig.com\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.freelancinggig.com\\\/blog\\\/#organization\",\"name\":\"FreelancingGig\",\"url\":\"https:\\\/\\\/www.freelancinggig.com\\\/blog\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.freelancinggig.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/www.freelancinggig.com\\\/blog\\\/wp-content\\\/uploads\\\/2020\\\/03\\\/freelancinggig-website-logo.png\",\"contentUrl\":\"https:\\\/\\\/www.freelancinggig.com\\\/blog\\\/wp-content\\\/uploads\\\/2020\\\/03\\\/freelancinggig-website-logo.png\",\"width\":213,\"height\":35,\"caption\":\"FreelancingGig\"},\"image\":{\"@id\":\"https:\\\/\\\/www.freelancinggig.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.freelancinggig.com\\\/blog\\\/#\\\/schema\\\/person\\\/48f1ba04a6bf525d5251b2eda9c7bb0c\",\"name\":\"Kitty Gupta\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/e45872c7ed30fc8f42c4fcfc60f8d2c667422939d9e4144a03e70d71e9d44bd6?s=96&d=wp_user_avatar&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/e45872c7ed30fc8f42c4fcfc60f8d2c667422939d9e4144a03e70d71e9d44bd6?s=96&d=wp_user_avatar&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/e45872c7ed30fc8f42c4fcfc60f8d2c667422939d9e4144a03e70d71e9d44bd6?s=96&d=wp_user_avatar&r=g\",\"caption\":\"Kitty Gupta\"},\"description\":\"Kitty Gupta is FreelancingGig's Content &amp; Community Manager. She has many years experience writing for reputable platforms with her engineering and communications background.\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to Integrate a PayPal Payment Gateway in PHP - Developers, Designers &amp; Freelancers - FreelancingGig","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.freelancinggig.com\/blog\/2020\/01\/18\/how-to-integrate-a-paypal-payment-gateway-in-php\/","og_locale":"en_US","og_type":"article","og_title":"How to Integrate a PayPal Payment Gateway in PHP - Developers, Designers &amp; Freelancers - FreelancingGig","og_description":"An e-commerce website is not considered to be complete without the payment gateway linked to it. There are various payment gateways and you can select ...","og_url":"https:\/\/www.freelancinggig.com\/blog\/2020\/01\/18\/how-to-integrate-a-paypal-payment-gateway-in-php\/","og_site_name":"Developers, Designers &amp; Freelancers - FreelancingGig","article_published_time":"2020-01-18T16:19:57+00:00","article_modified_time":"2020-01-18T16:19:58+00:00","og_image":[{"width":418,"height":269,"url":"https:\/\/www.freelancinggig.com\/blog\/wp-content\/uploads\/2020\/01\/paypal-to-php-again.jpg","type":"image\/jpeg"}],"author":"Kitty Gupta","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Kitty Gupta","Est. reading time":"5 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.freelancinggig.com\/blog\/2020\/01\/18\/how-to-integrate-a-paypal-payment-gateway-in-php\/#article","isPartOf":{"@id":"https:\/\/www.freelancinggig.com\/blog\/2020\/01\/18\/how-to-integrate-a-paypal-payment-gateway-in-php\/"},"author":{"name":"Kitty Gupta","@id":"https:\/\/www.freelancinggig.com\/blog\/#\/schema\/person\/48f1ba04a6bf525d5251b2eda9c7bb0c"},"headline":"How to Integrate a PayPal Payment Gateway in PHP","datePublished":"2020-01-18T16:19:57+00:00","dateModified":"2020-01-18T16:19:58+00:00","mainEntityOfPage":{"@id":"https:\/\/www.freelancinggig.com\/blog\/2020\/01\/18\/how-to-integrate-a-paypal-payment-gateway-in-php\/"},"wordCount":996,"commentCount":0,"publisher":{"@id":"https:\/\/www.freelancinggig.com\/blog\/#organization"},"image":{"@id":"https:\/\/www.freelancinggig.com\/blog\/2020\/01\/18\/how-to-integrate-a-paypal-payment-gateway-in-php\/#primaryimage"},"thumbnailUrl":"https:\/\/www.freelancinggig.com\/blog\/wp-content\/uploads\/2020\/01\/paypal-to-php-again.jpg","keywords":["Integrate PayPal Payment Gateway","Payment","Payment Gateway","PayPal","PHP"],"articleSection":["Startup Resources"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.freelancinggig.com\/blog\/2020\/01\/18\/how-to-integrate-a-paypal-payment-gateway-in-php\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.freelancinggig.com\/blog\/2020\/01\/18\/how-to-integrate-a-paypal-payment-gateway-in-php\/","url":"https:\/\/www.freelancinggig.com\/blog\/2020\/01\/18\/how-to-integrate-a-paypal-payment-gateway-in-php\/","name":"How to Integrate a PayPal Payment Gateway in PHP - Developers, Designers &amp; Freelancers - FreelancingGig","isPartOf":{"@id":"https:\/\/www.freelancinggig.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.freelancinggig.com\/blog\/2020\/01\/18\/how-to-integrate-a-paypal-payment-gateway-in-php\/#primaryimage"},"image":{"@id":"https:\/\/www.freelancinggig.com\/blog\/2020\/01\/18\/how-to-integrate-a-paypal-payment-gateway-in-php\/#primaryimage"},"thumbnailUrl":"https:\/\/www.freelancinggig.com\/blog\/wp-content\/uploads\/2020\/01\/paypal-to-php-again.jpg","datePublished":"2020-01-18T16:19:57+00:00","dateModified":"2020-01-18T16:19:58+00:00","breadcrumb":{"@id":"https:\/\/www.freelancinggig.com\/blog\/2020\/01\/18\/how-to-integrate-a-paypal-payment-gateway-in-php\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.freelancinggig.com\/blog\/2020\/01\/18\/how-to-integrate-a-paypal-payment-gateway-in-php\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.freelancinggig.com\/blog\/2020\/01\/18\/how-to-integrate-a-paypal-payment-gateway-in-php\/#primaryimage","url":"https:\/\/www.freelancinggig.com\/blog\/wp-content\/uploads\/2020\/01\/paypal-to-php-again.jpg","contentUrl":"https:\/\/www.freelancinggig.com\/blog\/wp-content\/uploads\/2020\/01\/paypal-to-php-again.jpg","width":418,"height":269},{"@type":"BreadcrumbList","@id":"https:\/\/www.freelancinggig.com\/blog\/2020\/01\/18\/how-to-integrate-a-paypal-payment-gateway-in-php\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.freelancinggig.com\/blog\/"},{"@type":"ListItem","position":2,"name":"How to Integrate a PayPal Payment Gateway in PHP"}]},{"@type":"WebSite","@id":"https:\/\/www.freelancinggig.com\/blog\/#website","url":"https:\/\/www.freelancinggig.com\/blog\/","name":"Developers, Designers &amp; Freelancers - FreelancingGig","description":"","publisher":{"@id":"https:\/\/www.freelancinggig.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.freelancinggig.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.freelancinggig.com\/blog\/#organization","name":"FreelancingGig","url":"https:\/\/www.freelancinggig.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.freelancinggig.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/www.freelancinggig.com\/blog\/wp-content\/uploads\/2020\/03\/freelancinggig-website-logo.png","contentUrl":"https:\/\/www.freelancinggig.com\/blog\/wp-content\/uploads\/2020\/03\/freelancinggig-website-logo.png","width":213,"height":35,"caption":"FreelancingGig"},"image":{"@id":"https:\/\/www.freelancinggig.com\/blog\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/www.freelancinggig.com\/blog\/#\/schema\/person\/48f1ba04a6bf525d5251b2eda9c7bb0c","name":"Kitty Gupta","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/e45872c7ed30fc8f42c4fcfc60f8d2c667422939d9e4144a03e70d71e9d44bd6?s=96&d=wp_user_avatar&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/e45872c7ed30fc8f42c4fcfc60f8d2c667422939d9e4144a03e70d71e9d44bd6?s=96&d=wp_user_avatar&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/e45872c7ed30fc8f42c4fcfc60f8d2c667422939d9e4144a03e70d71e9d44bd6?s=96&d=wp_user_avatar&r=g","caption":"Kitty Gupta"},"description":"Kitty Gupta is FreelancingGig's Content &amp; Community Manager. She has many years experience writing for reputable platforms with her engineering and communications background."}]}},"_links":{"self":[{"href":"https:\/\/www.freelancinggig.com\/blog\/wp-json\/wp\/v2\/posts\/5206","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.freelancinggig.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.freelancinggig.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.freelancinggig.com\/blog\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/www.freelancinggig.com\/blog\/wp-json\/wp\/v2\/comments?post=5206"}],"version-history":[{"count":2,"href":"https:\/\/www.freelancinggig.com\/blog\/wp-json\/wp\/v2\/posts\/5206\/revisions"}],"predecessor-version":[{"id":5209,"href":"https:\/\/www.freelancinggig.com\/blog\/wp-json\/wp\/v2\/posts\/5206\/revisions\/5209"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.freelancinggig.com\/blog\/wp-json\/wp\/v2\/media\/5208"}],"wp:attachment":[{"href":"https:\/\/www.freelancinggig.com\/blog\/wp-json\/wp\/v2\/media?parent=5206"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.freelancinggig.com\/blog\/wp-json\/wp\/v2\/categories?post=5206"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.freelancinggig.com\/blog\/wp-json\/wp\/v2\/tags?post=5206"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}