{"id":4851,"date":"2021-08-23T04:19:36","date_gmt":"2021-08-23T04:19:36","guid":{"rendered":"https:\/\/studysection.com\/blog\/?p=4851"},"modified":"2021-08-23T05:19:01","modified_gmt":"2021-08-23T05:19:01","slug":"paypal-payment-integration","status":"publish","type":"post","link":"https:\/\/studysection.com\/blog\/paypal-payment-integration\/","title":{"rendered":"Paypal Payment Integration"},"content":{"rendered":"<p>For doing the Payment using Paypal you should have registered an account with them.<br \/>\nFor creating the account you will need to visit this link:<br \/>\n<a href=\"https:\/\/developer.paypal.com\/home\/\">https:\/\/developer.paypal.com\/home\/<\/a><\/p>\n<p>After creating the account you have to create a dummy receiver and sender account in the sandbox (which will exist in the above URL ) with the help of that you can send and receive dummy money for the <a href=\"https:\/\/studysection.com\/blog\/top-ten-test-automation-frameworks\/\">test<\/a> purpose.<\/p>\n<p>For creating the dummy account you need to create two accounts:<\/p>\n<ol>\n<li>Business account(Receiver)<\/li>\n<li>personal account(Sender)<\/li>\n<\/ol>\n<ol>\n<li>\n<h2>Business account:-<\/h2>\n<p> from this account you will be able to receive the money from any account. For checking the total amount you will have to visit this link: <a href=\"https:\/\/www.sandbox.paypal.com\/\">https:\/\/www.sandbox.paypal.com\/<\/a>  and sign in with the Paypal Business account credentials.<\/p>\n<p>After login, you will see this type of screen\u2026.<br \/>\n<img decoding=\"async\" src=\"https:\/\/studysection.com\/blog\/wp-content\/uploads\/2021\/08\/chart.png\" alt=\"chart\"\/><\/p>\n<p>For getting the payment you need to generate a client id and that id you can generate on this link: <a href=\"https:\/\/developer.paypal.com\/developer\/applications\/create\">https:\/\/developer.paypal.com\/developer\/applications\/create<\/a>.<\/p>\n<p>Here you need to insert the recipient\u2019s Paypal id then click on the <strong><em>create app<\/em><\/strong> button then you will be able to get the <strong><em>client id<\/em><\/strong> which you have to insert the code attached below&#8230;<br \/>\n<code>&lt;script src=\"https:\/\/www.paypal.com\/sdk\/js?client-id=Ad2bCOEb4SpvC3OckcM0AuO5Ncvxs2a6jkvY_ktWtNn9Hx9Efdsfdsfdf4545Se0cC2Gd\">&lt;\/script><\/code><br \/>\n<img decoding=\"async\" src=\"https:\/\/studysection.com\/blog\/wp-content\/uploads\/2021\/08\/dashboard.png\" alt=\"dashboard\"\/>\n<\/li>\n<li>\n<h3>Personal account:-<\/h3>\n<p> from this account you will be able to send the money. For checking the existing amount you will have to visit this link: <a href=\"https:\/\/www.sandbox.paypal.com\/\">https:\/\/www.sandbox.paypal.com\/<\/a> and sign in with the Paypal Personal account credentials.\n<\/li>\n<\/ol>\n<h3>Code to use Payment Integration<\/h3>\n<p>This code you need to add in the HTML file.<br \/>\n<code>&lt;html lang=\"en\"><br \/>\n&lt;head><br \/>\n    &lt;meta charset=\"UTF-8\"><br \/>\n    &lt;meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\"><br \/>\n    &lt;meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\"><br \/>\n    &lt;title>Document<\/title><br \/>\n&lt;\/head><br \/>\n&lt;body><br \/>\n    &lt;center>&lt;div id=\"paypal-button-container\">&lt;\/div><br \/>\n        &lt;!-- Include the PayPal JavaScript SDK --><br \/>\n        &lt;script src=\"https:\/\/www.paypal.com\/sdk\/js?client-id=Ad2bCOEb4SpvC3OckcM0AuO5Ncvxs2a6jkvY_ktWtNn9Hx9Efdsfdsfdf4545Se0cC2Gd\">&lt;\/script><br \/>\n        &lt;script><br \/>\n            \/\/ Render the PayPal button into #paypal-button-container<br \/>\n            paypal.Buttons({<br \/>\n                \/\/ Set up the transaction<br \/>\n                createOrder: function(data, actions) {<br \/>\n                    return actions.order.create({<br \/>\n                        purchase_units: [{<br \/>\n                            amount: {<br \/>\n\/\/Sending amount in dollars<br \/>\n                                value: '10'<br \/>\n                            }<br \/>\n                        }]\n                    });<br \/>\n                },<br \/>\n                \/\/ Finalize the transaction<br \/>\n                onApprove: function(data, actions) {<br \/>\n                    return actions.order.capture().then(function(details) {<br \/>\n                        \/\/ Show a success message to the buyer<br \/>\n                        alert('Transaction completed');<br \/>\n                    });<br \/>\n                }<br \/>\n            }).render('#paypal-button-container');<br \/>\n        &lt;\/script>&lt;\/center><br \/>\n&lt;\/body><br \/>\n&lt;\/html><\/code><\/p>\n<p>After adding this code run that file on the browser then you will see this type of screen\u2026<br \/>\n<img decoding=\"async\" src=\"https:\/\/studysection.com\/blog\/wp-content\/uploads\/2021\/08\/Paypal1.png\" alt=\"Paypal(1)\"\/><br \/>\nNow click on the Paypal button(visible in the above image) and after that, you will be redirected to the PayPal official site then just fill in all the credentials of the sender account there and click on the pay now button. Money will be transferred successfully.<\/p>\n<p><small><em>Microsoft Windows 10 is a widely used operating system in computers all over the world. If you have skills in Microsoft Windows 10 then you can get a <a href=\"https:\/\/www.studysection.com\/windows-10-advanced\">Windows 10 Certification<\/a> from StudySection which can help you in getting hired. A beginner level certification exam for newbies and an advanced level certification exam for experts is available on StudySection.<\/em><\/small><\/p>\n","protected":false},"excerpt":{"rendered":"<p>For doing the Payment using Paypal you should have registered an account with them. For creating the account you will<\/p>\n","protected":false},"author":1,"featured_media":4852,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[6],"tags":[155,128],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v21.7 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Paypal Payment Platform Integration - StudySection Blog<\/title>\n<meta name=\"description\" content=\"For doing the Payment using PayPal you should have an account with PayPal. For creating the account you will need to visit website.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/studysection.com\/blog\/paypal-payment-integration\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Paypal Payment Platform Integration - StudySection Blog\" \/>\n<meta property=\"og:description\" content=\"For doing the Payment using PayPal you should have an account with PayPal. For creating the account you will need to visit website.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/studysection.com\/blog\/paypal-payment-integration\/\" \/>\n<meta property=\"og:site_name\" content=\"Blog Posts on famous people, innovations and educational topics\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/studysection\" \/>\n<meta property=\"article:published_time\" content=\"2021-08-23T04:19:36+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2021-08-23T05:19:01+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/studysection.com\/blog\/wp-content\/uploads\/2021\/08\/Paypal.png\" \/>\n\t<meta property=\"og:image:width\" content=\"300\" \/>\n\t<meta property=\"og:image:height\" content=\"200\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"admin-studysection-blog\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@studysection\" \/>\n<meta name=\"twitter:site\" content=\"@studysection\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"admin-studysection-blog\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/studysection.com\/blog\/paypal-payment-integration\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/studysection.com\/blog\/paypal-payment-integration\/\"},\"author\":{\"name\":\"admin-studysection-blog\",\"@id\":\"https:\/\/studysection.com\/blog\/#\/schema\/person\/db367e2c29a12d1808fb1979edb3d402\"},\"headline\":\"Paypal Payment Integration\",\"datePublished\":\"2021-08-23T04:19:36+00:00\",\"dateModified\":\"2021-08-23T05:19:01+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/studysection.com\/blog\/paypal-payment-integration\/\"},\"wordCount\":381,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/studysection.com\/blog\/#organization\"},\"keywords\":[\"integration\",\"Paypal\"],\"articleSection\":[\"Learn and Grow\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/studysection.com\/blog\/paypal-payment-integration\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/studysection.com\/blog\/paypal-payment-integration\/\",\"url\":\"https:\/\/studysection.com\/blog\/paypal-payment-integration\/\",\"name\":\"Paypal Payment Platform Integration - StudySection Blog\",\"isPartOf\":{\"@id\":\"https:\/\/studysection.com\/blog\/#website\"},\"datePublished\":\"2021-08-23T04:19:36+00:00\",\"dateModified\":\"2021-08-23T05:19:01+00:00\",\"description\":\"For doing the Payment using PayPal you should have an account with PayPal. For creating the account you will need to visit website.\",\"breadcrumb\":{\"@id\":\"https:\/\/studysection.com\/blog\/paypal-payment-integration\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/studysection.com\/blog\/paypal-payment-integration\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/studysection.com\/blog\/paypal-payment-integration\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/studysection.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Paypal Payment Integration\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/studysection.com\/blog\/#website\",\"url\":\"https:\/\/studysection.com\/blog\/\",\"name\":\"Blog Posts on famous people, innovations and educational topics\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\/\/studysection.com\/blog\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/studysection.com\/blog\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/studysection.com\/blog\/#organization\",\"name\":\"StudySection\",\"url\":\"https:\/\/studysection.com\/blog\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/studysection.com\/blog\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/studysection.com\/blog\/wp-content\/uploads\/2021\/10\/studySection-logo.png\",\"contentUrl\":\"https:\/\/studysection.com\/blog\/wp-content\/uploads\/2021\/10\/studySection-logo.png\",\"width\":920,\"height\":440,\"caption\":\"StudySection\"},\"image\":{\"@id\":\"https:\/\/studysection.com\/blog\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/studysection\",\"https:\/\/twitter.com\/studysection\",\"https:\/\/www.instagram.com\/study.section\/\",\"https:\/\/www.linkedin.com\/company\/studysection\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/studysection.com\/blog\/#\/schema\/person\/db367e2c29a12d1808fb1979edb3d402\",\"name\":\"admin-studysection-blog\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/studysection.com\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/054ac87a6874df1932004239cd8eab36?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/054ac87a6874df1932004239cd8eab36?s=96&d=mm&r=g\",\"caption\":\"admin-studysection-blog\"},\"url\":\"https:\/\/studysection.com\/blog\/author\/admin-studysection-blog\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Paypal Payment Platform Integration - StudySection Blog","description":"For doing the Payment using PayPal you should have an account with PayPal. For creating the account you will need to visit website.","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:\/\/studysection.com\/blog\/paypal-payment-integration\/","og_locale":"en_US","og_type":"article","og_title":"Paypal Payment Platform Integration - StudySection Blog","og_description":"For doing the Payment using PayPal you should have an account with PayPal. For creating the account you will need to visit website.","og_url":"https:\/\/studysection.com\/blog\/paypal-payment-integration\/","og_site_name":"Blog Posts on famous people, innovations and educational topics","article_publisher":"https:\/\/www.facebook.com\/studysection","article_published_time":"2021-08-23T04:19:36+00:00","article_modified_time":"2021-08-23T05:19:01+00:00","og_image":[{"width":300,"height":200,"url":"https:\/\/studysection.com\/blog\/wp-content\/uploads\/2021\/08\/Paypal.png","type":"image\/png"}],"author":"admin-studysection-blog","twitter_card":"summary_large_image","twitter_creator":"@studysection","twitter_site":"@studysection","twitter_misc":{"Written by":"admin-studysection-blog","Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/studysection.com\/blog\/paypal-payment-integration\/#article","isPartOf":{"@id":"https:\/\/studysection.com\/blog\/paypal-payment-integration\/"},"author":{"name":"admin-studysection-blog","@id":"https:\/\/studysection.com\/blog\/#\/schema\/person\/db367e2c29a12d1808fb1979edb3d402"},"headline":"Paypal Payment Integration","datePublished":"2021-08-23T04:19:36+00:00","dateModified":"2021-08-23T05:19:01+00:00","mainEntityOfPage":{"@id":"https:\/\/studysection.com\/blog\/paypal-payment-integration\/"},"wordCount":381,"commentCount":0,"publisher":{"@id":"https:\/\/studysection.com\/blog\/#organization"},"keywords":["integration","Paypal"],"articleSection":["Learn and Grow"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/studysection.com\/blog\/paypal-payment-integration\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/studysection.com\/blog\/paypal-payment-integration\/","url":"https:\/\/studysection.com\/blog\/paypal-payment-integration\/","name":"Paypal Payment Platform Integration - StudySection Blog","isPartOf":{"@id":"https:\/\/studysection.com\/blog\/#website"},"datePublished":"2021-08-23T04:19:36+00:00","dateModified":"2021-08-23T05:19:01+00:00","description":"For doing the Payment using PayPal you should have an account with PayPal. For creating the account you will need to visit website.","breadcrumb":{"@id":"https:\/\/studysection.com\/blog\/paypal-payment-integration\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/studysection.com\/blog\/paypal-payment-integration\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/studysection.com\/blog\/paypal-payment-integration\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/studysection.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Paypal Payment Integration"}]},{"@type":"WebSite","@id":"https:\/\/studysection.com\/blog\/#website","url":"https:\/\/studysection.com\/blog\/","name":"Blog Posts on famous people, innovations and educational topics","description":"","publisher":{"@id":"https:\/\/studysection.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/studysection.com\/blog\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/studysection.com\/blog\/#organization","name":"StudySection","url":"https:\/\/studysection.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/studysection.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/studysection.com\/blog\/wp-content\/uploads\/2021\/10\/studySection-logo.png","contentUrl":"https:\/\/studysection.com\/blog\/wp-content\/uploads\/2021\/10\/studySection-logo.png","width":920,"height":440,"caption":"StudySection"},"image":{"@id":"https:\/\/studysection.com\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/studysection","https:\/\/twitter.com\/studysection","https:\/\/www.instagram.com\/study.section\/","https:\/\/www.linkedin.com\/company\/studysection"]},{"@type":"Person","@id":"https:\/\/studysection.com\/blog\/#\/schema\/person\/db367e2c29a12d1808fb1979edb3d402","name":"admin-studysection-blog","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/studysection.com\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/054ac87a6874df1932004239cd8eab36?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/054ac87a6874df1932004239cd8eab36?s=96&d=mm&r=g","caption":"admin-studysection-blog"},"url":"https:\/\/studysection.com\/blog\/author\/admin-studysection-blog\/"}]}},"views":339,"_links":{"self":[{"href":"https:\/\/studysection.com\/blog\/wp-json\/wp\/v2\/posts\/4851"}],"collection":[{"href":"https:\/\/studysection.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/studysection.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/studysection.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/studysection.com\/blog\/wp-json\/wp\/v2\/comments?post=4851"}],"version-history":[{"count":4,"href":"https:\/\/studysection.com\/blog\/wp-json\/wp\/v2\/posts\/4851\/revisions"}],"predecessor-version":[{"id":4859,"href":"https:\/\/studysection.com\/blog\/wp-json\/wp\/v2\/posts\/4851\/revisions\/4859"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/studysection.com\/blog\/wp-json\/wp\/v2\/media\/4852"}],"wp:attachment":[{"href":"https:\/\/studysection.com\/blog\/wp-json\/wp\/v2\/media?parent=4851"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/studysection.com\/blog\/wp-json\/wp\/v2\/categories?post=4851"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/studysection.com\/blog\/wp-json\/wp\/v2\/tags?post=4851"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}