Fix ladl.link CORS for Mini payment assets and pay URL.
Deploy Ladill Mini / deploy (push) Successful in 44s
Deploy Ladill Mini / deploy (push) Successful in 44s
Allow cross-origin module loads of Mini build assets and use a same-origin pay path when HTML is proxied through ladl.link so fetch and Vite JS work.
This commit is contained in:
@@ -46,8 +46,9 @@ class MiniPaymentCheckoutTest extends TestCase
|
||||
->assertSee('data-ladill-pay-sheet', false)
|
||||
->assertSee('data-ladill-pay-panel', false)
|
||||
->assertSee('resumeTransaction', false)
|
||||
->assertSee('/q/'.$qr->short_code.'/pay', false)
|
||||
->assertDontSee('https://ladl.link/'.$qr->short_code.'/pay', false)
|
||||
// Proxied ladl.link scans use same-origin /{code}/pay (not mini absolute /q/...).
|
||||
->assertSee('/'.$qr->short_code.'/pay', false)
|
||||
->assertDontSee('https://mini.ladill.com/q/'.$qr->short_code.'/pay', false)
|
||||
->assertDontSee('MTN MoMo number', false)
|
||||
->assertDontSee('Pay with MTN MoMo', false)
|
||||
->assertDontSee('Continue to Paystack', false)
|
||||
|
||||
Reference in New Issue
Block a user