Artwork

Content provided by Extra Features. All podcast content including episodes, graphics, and podcast descriptions are uploaded and provided directly by Extra Features or their podcast platform partner. If you believe someone is using your copyrighted work without your permission, you can follow the process outlined here https://player.fm/legal.
Player FM - Podcast App
Go offline with the Player FM app!

Extra Features Interviews Retro about his film Retro Myrtle Beach Guy The Movie

31:35
 
Share
 

Manage episode 420654196 series 1407382
Content provided by Extra Features. All podcast content including episodes, graphics, and podcast descriptions are uploaded and provided directly by Extra Features or their podcast platform partner. If you believe someone is using your copyrighted work without your permission, you can follow the process outlined here https://player.fm/legal.

const wpedonPaypalFunding = ["paypal"];
const message_bd1b0b3bb54614b8c2e6a1eef2e656ec = document.getElementById('wpedon-paypal-message-bd1b0b3bb54614b8c2e6a1eef2e656ec'); if ( typeof paypal === 'undefined' ) { message_bd1b0b3bb54614b8c2e6a1eef2e656ec.innerHTML = '<span class="payment-error">An error occurred while connecting PayPal SDK. Check the plugin settings.</span>'; throw 'An error occurred while connecting PayPal SDK. Check the plugin settings.'; } paypal.getFundingSources().forEach(function (fundingSource) { if ( wpedonPaypalFunding.indexOf(fundingSource) > -1 ) { const style = { shape: 'rect', label: 'donate', height: 40 }; if ( fundingSource !== 'card' ) { let color = 'gold'; if (fundingSource === 'venmo' && color === 'gold') { color = 'blue'; } else if (['ideal', 'bancontact', 'giropay', 'eps', 'sofort', 'mybank', 'p24'].indexOf(fundingSource) > -1 && ['gold', 'blue'].indexOf(color) > -1) { color = 'default'; } else if (fundingSource === 'credit' && ['darkblue', 'black', 'white'].indexOf(color) === -1) { color = 'darkblue'; } style.color = color; } const button = paypal.Buttons({ fundingSource: fundingSource, style: style, createOrder: function() { message_bd1b0b3bb54614b8c2e6a1eef2e656ec.innerHTML = ''; const form = document.getElementById('bd1b0b3bb54614b8c2e6a1eef2e656ec'); const formData = new FormData(form); formData.append('action', 'wpedon-ppcp-order-create'); formData.append('nonce', wpedon.nonce); return fetch(wpedon.ajaxUrl, { method: 'post', body: formData }).then(function(response) { return response.json(); }).then(function(data) { let orderID = false; if (data.success && data.data.order_id) { orderID = data.data.order_id; } else { throw data.data && data.data.message ? data.data.message : 'An unknown error occurred while creating the order. Please reload the page and try again.'; } return orderID; }); }, onApprove: function(data) { const formData = new FormData(); formData.append('action', 'wpedon-ppcp-order-finalize'); formData.append('nonce', wpedon.nonce); formData.append('order_id', data.orderID); return fetch(wpedon.ajaxUrl, { method: 'post', body: formData }).then(function(response) { return response.json(); }).then(function(data) { if (data.success) { var return_url = ''; if (return_url.length && fundingSource !== 'card') { window.location.href = return_url; } else { message_bd1b0b3bb54614b8c2e6a1eef2e656ec.innerHTML = '<span class="payment-success">The payment was successful</span>'; } } else { throw data.data.message; } }); }, onCancel: function() { if (wpedon.cancel.length && fundingSource !== 'card') { window.location.href = wpedon.cancel; } else { message_bd1b0b3bb54614b8c2e6a1eef2e656ec.innerHTML = '<span class="payment-error">Payment Cancelled.</span>'; } }, onError: function (error) { message_bd1b0b3bb54614b8c2e6a1eef2e656ec.innerHTML = '<span class="payment-error">' + (error ? error : '<strong>Site admin</strong>, an error was detected in the plugin settings.</br>Please check the PayPal connection and product settings (price, name, etc.)') + '</span>'; } }); if (button.isEligible()) { button.render('#wpedon-paypal-button-container-bd1b0b3bb54614b8c2e6a1eef2e656ec'); } } });

The post Extra Features Interviews Retro about his film Retro Myrtle Beach Guy The Movie appeared first on Extra Features.

  continue reading

6 episodes

Artwork
iconShare
 
Manage episode 420654196 series 1407382
Content provided by Extra Features. All podcast content including episodes, graphics, and podcast descriptions are uploaded and provided directly by Extra Features or their podcast platform partner. If you believe someone is using your copyrighted work without your permission, you can follow the process outlined here https://player.fm/legal.

const wpedonPaypalFunding = ["paypal"];
const message_bd1b0b3bb54614b8c2e6a1eef2e656ec = document.getElementById('wpedon-paypal-message-bd1b0b3bb54614b8c2e6a1eef2e656ec'); if ( typeof paypal === 'undefined' ) { message_bd1b0b3bb54614b8c2e6a1eef2e656ec.innerHTML = '<span class="payment-error">An error occurred while connecting PayPal SDK. Check the plugin settings.</span>'; throw 'An error occurred while connecting PayPal SDK. Check the plugin settings.'; } paypal.getFundingSources().forEach(function (fundingSource) { if ( wpedonPaypalFunding.indexOf(fundingSource) > -1 ) { const style = { shape: 'rect', label: 'donate', height: 40 }; if ( fundingSource !== 'card' ) { let color = 'gold'; if (fundingSource === 'venmo' && color === 'gold') { color = 'blue'; } else if (['ideal', 'bancontact', 'giropay', 'eps', 'sofort', 'mybank', 'p24'].indexOf(fundingSource) > -1 && ['gold', 'blue'].indexOf(color) > -1) { color = 'default'; } else if (fundingSource === 'credit' && ['darkblue', 'black', 'white'].indexOf(color) === -1) { color = 'darkblue'; } style.color = color; } const button = paypal.Buttons({ fundingSource: fundingSource, style: style, createOrder: function() { message_bd1b0b3bb54614b8c2e6a1eef2e656ec.innerHTML = ''; const form = document.getElementById('bd1b0b3bb54614b8c2e6a1eef2e656ec'); const formData = new FormData(form); formData.append('action', 'wpedon-ppcp-order-create'); formData.append('nonce', wpedon.nonce); return fetch(wpedon.ajaxUrl, { method: 'post', body: formData }).then(function(response) { return response.json(); }).then(function(data) { let orderID = false; if (data.success && data.data.order_id) { orderID = data.data.order_id; } else { throw data.data && data.data.message ? data.data.message : 'An unknown error occurred while creating the order. Please reload the page and try again.'; } return orderID; }); }, onApprove: function(data) { const formData = new FormData(); formData.append('action', 'wpedon-ppcp-order-finalize'); formData.append('nonce', wpedon.nonce); formData.append('order_id', data.orderID); return fetch(wpedon.ajaxUrl, { method: 'post', body: formData }).then(function(response) { return response.json(); }).then(function(data) { if (data.success) { var return_url = ''; if (return_url.length && fundingSource !== 'card') { window.location.href = return_url; } else { message_bd1b0b3bb54614b8c2e6a1eef2e656ec.innerHTML = '<span class="payment-success">The payment was successful</span>'; } } else { throw data.data.message; } }); }, onCancel: function() { if (wpedon.cancel.length && fundingSource !== 'card') { window.location.href = wpedon.cancel; } else { message_bd1b0b3bb54614b8c2e6a1eef2e656ec.innerHTML = '<span class="payment-error">Payment Cancelled.</span>'; } }, onError: function (error) { message_bd1b0b3bb54614b8c2e6a1eef2e656ec.innerHTML = '<span class="payment-error">' + (error ? error : '<strong>Site admin</strong>, an error was detected in the plugin settings.</br>Please check the PayPal connection and product settings (price, name, etc.)') + '</span>'; } }); if (button.isEligible()) { button.render('#wpedon-paypal-button-container-bd1b0b3bb54614b8c2e6a1eef2e656ec'); } } });

The post Extra Features Interviews Retro about his film Retro Myrtle Beach Guy The Movie appeared first on Extra Features.

  continue reading

6 episodes

All episodes

×
 
Loading …

Welcome to Player FM!

Player FM is scanning the web for high-quality podcasts for you to enjoy right now. It's the best podcast app and works on Android, iPhone, and the web. Signup to sync subscriptions across devices.

 

Quick Reference Guide