mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-09-05 08:59:14 +08:00
Pass hardcoded session id to test order creation
This commit is contained in:
parent
da523884d6
commit
2e9cc0b8af
3 changed files with 1 additions and 5 deletions
|
@ -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);
|
||||
});
|
||||
|
|
|
@ -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;
|
||||
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue