{"id":19,"date":"2015-10-23T06:26:46","date_gmt":"2015-10-23T06:26:46","guid":{"rendered":"https:\/\/vining.in\/blog\/?p=19"},"modified":"2017-05-31T09:32:31","modified_gmt":"2017-05-31T09:32:31","slug":"how-to-automatically-redirect-to-my-website-after-the-payment-is-done","status":"publish","type":"post","link":"https:\/\/vining.in\/blog\/how-to-automatically-redirect-to-my-website-after-the-payment-is-done\/","title":{"rendered":"How to automatically redirect to my website after the payment is done?"},"content":{"rendered":"<p>Normally the customer would need to click the \u201cReturn to Merchant\u201d button on the payment confirmation (Thank you) page.\u00a0 To get the redirect to happen automatically, you\u2019ll need to turn on \u201cAuto Return\u201d.\u00a0 Instructions for turning this on are here:<\/p>\n<p>To use PDT, you must activate PDT and Auto Return in your PayPal account profile. You must also acquire a PDT\u00a0<em>identity token<\/em>, which is used in all PDT communication you send to PayPal.<\/p>\n<p>Follow these steps to configure your account for PDT:<\/p>\n<ol>\n<li>Log in to your PayPal account.<\/li>\n<li>Click the\u00a0<strong>Profile<\/strong>\u00a0subtab.<\/li>\n<li>Click <strong>My selling tools <\/strong>\u00a0in the Left Preferences column.<\/li>\n<li>Click on <strong>Update<\/strong> link from\u00a0<strong>Website Payment Preferences.<\/strong><\/li>\n<li>Under <strong>Auto Return<\/strong> for Website Payments, click the\u00a0<strong>On<\/strong>\u00a0radio button.<\/li>\n<li>For the <strong>Return URL<\/strong>, enter the <strong>URL<\/strong> on your site that will receive the transaction ID posted by PayPal after a customer payment.<\/li>\n<li>Under Payment Data Transfer, click the\u00a0<strong>On<\/strong>\u00a0radio button.<\/li>\n<li>Click\u00a0<strong>Save<\/strong>.<\/li>\n<li>Click again\u00a0Click on\u00a0<strong>Update<\/strong>\u00a0link from\u00a0<strong>Website Payment Preferences.<\/strong><\/li>\n<li>Scroll down to the Payment Data Transfer section of the page to view your PDT identity token.<\/li>\n<\/ol>\n<p>To get the customer\u2019s information to be sent along with the redirect, you\u2019ll need to use\u00a0Payment Data Transfer (PDT).\u00a0 Keep in mind that this feature does require the browser to redirect to your page.\u00a0 This means that if the buyer closes their browser before the redirect, you won\u2019t receive the information.\u00a0 It\u2019s best to only use PDT to populate your website order confirmation or thank you page with dynamic info.\u00a0 If you need that information for other reasons, we recommend using\u00a0Instant Payment Notifications (IPN)\u00a0which are asynchronous meaning it\u2019s server to server and doesn\u2019t depend on a browser redirect.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Normally the customer would need to click the \u201cReturn to Merchant\u201d button on the payment confirmation (Thank you) page.\u00a0 To get the redirect to happen automatically, you\u2019ll need to turn on \u201cAuto Return\u201d.\u00a0 Instructions for turning this on are here: To use PDT, you must activate PDT and Auto Return in your PayPal account profile. [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[9],"tags":[],"class_list":["post-19","post","type-post","status-publish","format-standard","hentry","category-paypal"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v23.9 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>How to automatically redirect to my website after the payment is done?<\/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:\/\/vining.in\/blog\/how-to-automatically-redirect-to-my-website-after-the-payment-is-done\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to automatically redirect to my website after the payment is done?\" \/>\n<meta property=\"og:description\" content=\"Normally the customer would need to click the \u201cReturn to Merchant\u201d button on the payment confirmation (Thank you) page.\u00a0 To get the redirect to happen automatically, you\u2019ll need to turn on \u201cAuto Return\u201d.\u00a0 Instructions for turning this on are here: To use PDT, you must activate PDT and Auto Return in your PayPal account profile. [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/vining.in\/blog\/how-to-automatically-redirect-to-my-website-after-the-payment-is-done\/\" \/>\n<meta property=\"og:site_name\" content=\"Programmer Code\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/vining.in\" \/>\n<meta property=\"article:published_time\" content=\"2015-10-23T06:26:46+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2017-05-31T09:32:31+00:00\" \/>\n<meta name=\"author\" content=\"codeadmin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"codeadmin\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/vining.in\/blog\/how-to-automatically-redirect-to-my-website-after-the-payment-is-done\/\",\"url\":\"https:\/\/vining.in\/blog\/how-to-automatically-redirect-to-my-website-after-the-payment-is-done\/\",\"name\":\"How to automatically redirect to my website after the payment is done?\",\"isPartOf\":{\"@id\":\"https:\/\/vining.in\/blog\/#website\"},\"datePublished\":\"2015-10-23T06:26:46+00:00\",\"dateModified\":\"2017-05-31T09:32:31+00:00\",\"author\":{\"@id\":\"https:\/\/vining.in\/blog\/#\/schema\/person\/cda9f07adf3479ac270e2320a914552e\"},\"breadcrumb\":{\"@id\":\"https:\/\/vining.in\/blog\/how-to-automatically-redirect-to-my-website-after-the-payment-is-done\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/vining.in\/blog\/how-to-automatically-redirect-to-my-website-after-the-payment-is-done\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/vining.in\/blog\/how-to-automatically-redirect-to-my-website-after-the-payment-is-done\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/vining.in\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to automatically redirect to my website after the payment is done?\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/vining.in\/blog\/#website\",\"url\":\"https:\/\/vining.in\/blog\/\",\"name\":\"Programmer Code\",\"description\":\"- Where Developers Learn, Share, &amp; Build Careers\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/vining.in\/blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/vining.in\/blog\/#\/schema\/person\/cda9f07adf3479ac270e2320a914552e\",\"name\":\"codeadmin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/vining.in\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/770f5bb2b95d41f98f29e7251fb1873b?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/770f5bb2b95d41f98f29e7251fb1873b?s=96&d=mm&r=g\",\"caption\":\"codeadmin\"},\"url\":\"https:\/\/vining.in\/blog\/author\/codeadmin\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to automatically redirect to my website after the payment is done?","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:\/\/vining.in\/blog\/how-to-automatically-redirect-to-my-website-after-the-payment-is-done\/","og_locale":"en_US","og_type":"article","og_title":"How to automatically redirect to my website after the payment is done?","og_description":"Normally the customer would need to click the \u201cReturn to Merchant\u201d button on the payment confirmation (Thank you) page.\u00a0 To get the redirect to happen automatically, you\u2019ll need to turn on \u201cAuto Return\u201d.\u00a0 Instructions for turning this on are here: To use PDT, you must activate PDT and Auto Return in your PayPal account profile. [&hellip;]","og_url":"https:\/\/vining.in\/blog\/how-to-automatically-redirect-to-my-website-after-the-payment-is-done\/","og_site_name":"Programmer Code","article_publisher":"https:\/\/www.facebook.com\/vining.in","article_published_time":"2015-10-23T06:26:46+00:00","article_modified_time":"2017-05-31T09:32:31+00:00","author":"codeadmin","twitter_card":"summary_large_image","twitter_misc":{"Written by":"codeadmin","Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/vining.in\/blog\/how-to-automatically-redirect-to-my-website-after-the-payment-is-done\/","url":"https:\/\/vining.in\/blog\/how-to-automatically-redirect-to-my-website-after-the-payment-is-done\/","name":"How to automatically redirect to my website after the payment is done?","isPartOf":{"@id":"https:\/\/vining.in\/blog\/#website"},"datePublished":"2015-10-23T06:26:46+00:00","dateModified":"2017-05-31T09:32:31+00:00","author":{"@id":"https:\/\/vining.in\/blog\/#\/schema\/person\/cda9f07adf3479ac270e2320a914552e"},"breadcrumb":{"@id":"https:\/\/vining.in\/blog\/how-to-automatically-redirect-to-my-website-after-the-payment-is-done\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/vining.in\/blog\/how-to-automatically-redirect-to-my-website-after-the-payment-is-done\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/vining.in\/blog\/how-to-automatically-redirect-to-my-website-after-the-payment-is-done\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/vining.in\/blog\/"},{"@type":"ListItem","position":2,"name":"How to automatically redirect to my website after the payment is done?"}]},{"@type":"WebSite","@id":"https:\/\/vining.in\/blog\/#website","url":"https:\/\/vining.in\/blog\/","name":"Programmer Code","description":"- Where Developers Learn, Share, &amp; Build Careers","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/vining.in\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/vining.in\/blog\/#\/schema\/person\/cda9f07adf3479ac270e2320a914552e","name":"codeadmin","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/vining.in\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/770f5bb2b95d41f98f29e7251fb1873b?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/770f5bb2b95d41f98f29e7251fb1873b?s=96&d=mm&r=g","caption":"codeadmin"},"url":"https:\/\/vining.in\/blog\/author\/codeadmin\/"}]}},"_links":{"self":[{"href":"https:\/\/vining.in\/blog\/wp-json\/wp\/v2\/posts\/19","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/vining.in\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/vining.in\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/vining.in\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/vining.in\/blog\/wp-json\/wp\/v2\/comments?post=19"}],"version-history":[{"count":3,"href":"https:\/\/vining.in\/blog\/wp-json\/wp\/v2\/posts\/19\/revisions"}],"predecessor-version":[{"id":23,"href":"https:\/\/vining.in\/blog\/wp-json\/wp\/v2\/posts\/19\/revisions\/23"}],"wp:attachment":[{"href":"https:\/\/vining.in\/blog\/wp-json\/wp\/v2\/media?parent=19"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/vining.in\/blog\/wp-json\/wp\/v2\/categories?post=19"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/vining.in\/blog\/wp-json\/wp\/v2\/tags?post=19"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}