Pass hardcoded session id to test order creation

This commit is contained in:
dinamiko 2022-03-08 11:43:05 +01:00
parent da523884d6
commit 2e9cc0b8af
3 changed files with 1 additions and 5 deletions

View file

@ -1,8 +1,5 @@
document.addEventListener('DOMContentLoaded', () => {
const script = document.createElement('script');
script.setAttribute('src', 'https://c.paypal.com/da/r/fb.js');
console.log(script)
document.body.append(script);
});

View file

@ -11,7 +11,6 @@ namespace WooCommerce\PayPalCommerce\WcGateway\Gateway\PayUponInvoice;
use Psr\Log\LoggerInterface;
use RuntimeException;
use WC_Order;
use WC_Payment_Gateway;
use WooCommerce\PayPalCommerce\ApiClient\Factory\PurchaseUnitFactory;

View file

@ -275,7 +275,7 @@ class WCGatewayModule implements ModuleInterface {
add_action('wp_footer', function () { ?>
<script type="application/json" fncls="fnparams-dede7cc5-15fd-4c75-a9f4-36c430ee3a99">
{
"f":"change_this_to_32char_guid",
"f":"d4e0d7b9-4f75-43f9-9437-d8a57c901585",
"s":"flowid_provided_to_you"
}
</script>