<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic How to make 'Close' button just close the Accept Hosted iFrame in Integration and Testing</title>
    <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/How-to-make-Close-button-just-close-the-Accept-Hosted-iFrame/m-p/88539#M55791</link>
    <description>&lt;P&gt;I would like to make the 'Close' button in the Hosted Payment iFrame simply close the iFrame, and keep users on the same page on my site, as opposed to opening a new link in the iFrame when users click the Close button. How could I complete this? Is there a paramter I could add to hostedPaymentReturnOptions?&lt;/P&gt;
&lt;P&gt;Here is the JSON object I am using in my getHostedPaymentPageRequest method -&lt;/P&gt;
&lt;P&gt;{&lt;BR /&gt;"getHostedPaymentPageRequest": {&lt;BR /&gt;"merchantAuthentication": {&lt;BR /&gt;"name": "[name]",&lt;BR /&gt;"transactionKey": "[transaction_key]"&lt;BR /&gt;},&lt;BR /&gt;"transactionRequest": {&lt;BR /&gt;"transactionType": "authCaptureTransaction",&lt;BR /&gt;"amount": dono_amount,&lt;BR /&gt;"profile": {&lt;BR /&gt;"customerProfileId": "[id]"&lt;BR /&gt;},&lt;BR /&gt;"customer": {&lt;BR /&gt;"type": customer_type,&lt;BR /&gt;"email": user_email_address,&lt;BR /&gt;},&lt;BR /&gt;"billTo": {&lt;BR /&gt;"firstName": user_first_name,&lt;BR /&gt;"lastName": user_last_name,&lt;BR /&gt;"company": user_business,&lt;BR /&gt;"address": user_address,&lt;BR /&gt;"city": user_city,&lt;BR /&gt;"state": user_state,&lt;BR /&gt;"zip": user_zip,&lt;BR /&gt;"country": "US",&lt;BR /&gt;"phoneNumber": user_phone_number&lt;BR /&gt;}&lt;BR /&gt;},&lt;BR /&gt;"hostedPaymentSettings": {&lt;BR /&gt;"setting": [{&lt;BR /&gt;"settingName": "hostedPaymentReturnOptions",&lt;BR /&gt;"settingValue": "{\"showReceipt\": true, \"url\": \"htt&lt;SPAN&gt;ps://mysite.&lt;SPAN&gt;com/receipt\", \"urlText\": \"Donate\", \"cancelUrl\": \"mysite.com\", \"cancelUrlText\": \"Cancel\"}"&lt;BR /&gt;}, {&lt;BR /&gt;"settingName": "hostedPaymentButtonOptions",&lt;BR /&gt;"settingValue": "{\"text\": \"Donate\"}"&lt;BR /&gt;}, {&lt;BR /&gt;"settingName": "hostedPaymentStyleOptions",&lt;BR /&gt;"settingValue": "{\"bgColor\": \"#41413F\"}"&lt;BR /&gt;}, {&lt;BR /&gt;"settingName": "hostedPaymentPaymentOptions",&lt;BR /&gt;"settingValue": "{\"cardCodeRequired\": true, \"showCreditCard\": " + show_credit_card + ", \"showBankAccount\": " + show_bank_account + "}"&lt;BR /&gt;}, {&lt;BR /&gt;"settingName": "hostedPaymentSecurityOptions",&lt;BR /&gt;"settingValue": "{\"captcha\": true}"&lt;BR /&gt;}, {&lt;BR /&gt;"settingName": "hostedPaymentShippingAddressOptions",&lt;BR /&gt;"settingValue": "{\"show\": false, \"required\": false}"&lt;BR /&gt;}, {&lt;BR /&gt;"settingName": "hostedPaymentBillingAddressOptions",&lt;BR /&gt;"settingValue": "{\"show\": true, \"required\": false}"&lt;BR /&gt;}, {&lt;BR /&gt;"settingName": "hostedPaymentCustomerOptions",&lt;BR /&gt;"settingValue": "{\"showEmail\": true, \"requiredEmail\": true, \"addPaymentProfile\": false}"&lt;BR /&gt;}, {&lt;BR /&gt;"settingName": "hostedPaymentOrderOptions",&lt;BR /&gt;"settingValue": "{\"show\": true, \"merchantName\": \"Merchant Name\"}"&lt;BR /&gt;}, {&lt;BR /&gt;"settingName": "hostedPaymentIFrameCommunicatorUrl",&lt;BR /&gt;"settingValue": "{\"url\": \"}"&lt;BR /&gt;}]&lt;BR /&gt;}&lt;BR /&gt;}&lt;BR /&gt;}&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Sat, 06 Jan 2024 00:55:47 GMT</pubDate>
    <dc:creator>dvieira</dc:creator>
    <dc:date>2024-01-06T00:55:47Z</dc:date>
    <item>
      <title>How to make 'Close' button just close the Accept Hosted iFrame</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/How-to-make-Close-button-just-close-the-Accept-Hosted-iFrame/m-p/88539#M55791</link>
      <description>&lt;P&gt;I would like to make the 'Close' button in the Hosted Payment iFrame simply close the iFrame, and keep users on the same page on my site, as opposed to opening a new link in the iFrame when users click the Close button. How could I complete this? Is there a paramter I could add to hostedPaymentReturnOptions?&lt;/P&gt;
&lt;P&gt;Here is the JSON object I am using in my getHostedPaymentPageRequest method -&lt;/P&gt;
&lt;P&gt;{&lt;BR /&gt;"getHostedPaymentPageRequest": {&lt;BR /&gt;"merchantAuthentication": {&lt;BR /&gt;"name": "[name]",&lt;BR /&gt;"transactionKey": "[transaction_key]"&lt;BR /&gt;},&lt;BR /&gt;"transactionRequest": {&lt;BR /&gt;"transactionType": "authCaptureTransaction",&lt;BR /&gt;"amount": dono_amount,&lt;BR /&gt;"profile": {&lt;BR /&gt;"customerProfileId": "[id]"&lt;BR /&gt;},&lt;BR /&gt;"customer": {&lt;BR /&gt;"type": customer_type,&lt;BR /&gt;"email": user_email_address,&lt;BR /&gt;},&lt;BR /&gt;"billTo": {&lt;BR /&gt;"firstName": user_first_name,&lt;BR /&gt;"lastName": user_last_name,&lt;BR /&gt;"company": user_business,&lt;BR /&gt;"address": user_address,&lt;BR /&gt;"city": user_city,&lt;BR /&gt;"state": user_state,&lt;BR /&gt;"zip": user_zip,&lt;BR /&gt;"country": "US",&lt;BR /&gt;"phoneNumber": user_phone_number&lt;BR /&gt;}&lt;BR /&gt;},&lt;BR /&gt;"hostedPaymentSettings": {&lt;BR /&gt;"setting": [{&lt;BR /&gt;"settingName": "hostedPaymentReturnOptions",&lt;BR /&gt;"settingValue": "{\"showReceipt\": true, \"url\": \"htt&lt;SPAN&gt;ps://mysite.&lt;SPAN&gt;com/receipt\", \"urlText\": \"Donate\", \"cancelUrl\": \"mysite.com\", \"cancelUrlText\": \"Cancel\"}"&lt;BR /&gt;}, {&lt;BR /&gt;"settingName": "hostedPaymentButtonOptions",&lt;BR /&gt;"settingValue": "{\"text\": \"Donate\"}"&lt;BR /&gt;}, {&lt;BR /&gt;"settingName": "hostedPaymentStyleOptions",&lt;BR /&gt;"settingValue": "{\"bgColor\": \"#41413F\"}"&lt;BR /&gt;}, {&lt;BR /&gt;"settingName": "hostedPaymentPaymentOptions",&lt;BR /&gt;"settingValue": "{\"cardCodeRequired\": true, \"showCreditCard\": " + show_credit_card + ", \"showBankAccount\": " + show_bank_account + "}"&lt;BR /&gt;}, {&lt;BR /&gt;"settingName": "hostedPaymentSecurityOptions",&lt;BR /&gt;"settingValue": "{\"captcha\": true}"&lt;BR /&gt;}, {&lt;BR /&gt;"settingName": "hostedPaymentShippingAddressOptions",&lt;BR /&gt;"settingValue": "{\"show\": false, \"required\": false}"&lt;BR /&gt;}, {&lt;BR /&gt;"settingName": "hostedPaymentBillingAddressOptions",&lt;BR /&gt;"settingValue": "{\"show\": true, \"required\": false}"&lt;BR /&gt;}, {&lt;BR /&gt;"settingName": "hostedPaymentCustomerOptions",&lt;BR /&gt;"settingValue": "{\"showEmail\": true, \"requiredEmail\": true, \"addPaymentProfile\": false}"&lt;BR /&gt;}, {&lt;BR /&gt;"settingName": "hostedPaymentOrderOptions",&lt;BR /&gt;"settingValue": "{\"show\": true, \"merchantName\": \"Merchant Name\"}"&lt;BR /&gt;}, {&lt;BR /&gt;"settingName": "hostedPaymentIFrameCommunicatorUrl",&lt;BR /&gt;"settingValue": "{\"url\": \"}"&lt;BR /&gt;}]&lt;BR /&gt;}&lt;BR /&gt;}&lt;BR /&gt;}&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 06 Jan 2024 00:55:47 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/How-to-make-Close-button-just-close-the-Accept-Hosted-iFrame/m-p/88539#M55791</guid>
      <dc:creator>dvieira</dc:creator>
      <dc:date>2024-01-06T00:55:47Z</dc:date>
    </item>
  </channel>
</rss>

